Skip to content

Commit 7f87c67

Browse files
authored
Increase size so you can actually click them (#924)
2 parents 0639685 + 4ec94c8 commit 7f87c67

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

nuklear.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28889,7 +28889,7 @@ nk_do_property(nk_flags *ws,
2888928889
struct nk_rect empty;
2889028890

2889128891
/* left decrement button */
28892-
left.h = font->height/2;
28892+
left.h = font->height;
2889328893
left.w = left.h;
2889428894
left.x = property.x + style->border + style->padding.x;
2889528895
left.y = property.y + style->border + property.h/2.0f - left.h/2;

src/nuklear_property.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ nk_do_property(nk_flags *ws,
162162
struct nk_rect empty;
163163

164164
/* left decrement button */
165-
left.h = font->height/2;
165+
left.h = font->height;
166166
left.w = left.h;
167167
left.x = property.x + style->border + style->padding.x;
168168
left.y = property.y + style->border + property.h/2.0f - left.h/2;

0 commit comments

Comments
 (0)