Rebuild nuklear.h

This commit is contained in:
Rob Loach 2024-06-27 13:58:56 -04:00
parent aaee3007ea
commit 74a12afc62
No known key found for this signature in database
GPG Key ID: 627C60834A74A21A
1 changed files with 2 additions and 2 deletions

View File

@ -19903,7 +19903,7 @@ nk_panel_begin(struct nk_context *ctx, const char *title, enum nk_panel_type pan
nk_draw_nine_slice(out, body, &style->window.fixed_background.data.slice, nk_white); nk_draw_nine_slice(out, body, &style->window.fixed_background.data.slice, nk_white);
break; break;
case NK_STYLE_ITEM_COLOR: case NK_STYLE_ITEM_COLOR:
nk_fill_rect(out, body, 0, style->window.fixed_background.data.color); nk_fill_rect(out, body, style->window.rounding, style->window.fixed_background.data.color);
break; break;
} }
} }
@ -20099,7 +20099,7 @@ nk_panel_end(struct nk_context *ctx)
: (window->bounds.y + window->bounds.h)); : (window->bounds.y + window->bounds.h));
struct nk_rect b = window->bounds; struct nk_rect b = window->bounds;
b.h = padding_y - window->bounds.y; b.h = padding_y - window->bounds.y;
nk_stroke_rect(out, b, 0, layout->border, border_color); nk_stroke_rect(out, b, style->window.rounding, layout->border, border_color);
} }
/* scaler */ /* scaler */