From 74a12afc620191616c9e9eb2e1bae60e8144a879 Mon Sep 17 00:00:00 2001 From: Rob Loach Date: Thu, 27 Jun 2024 13:58:56 -0400 Subject: [PATCH] Rebuild nuklear.h --- nuklear.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nuklear.h b/nuklear.h index 1bdcc8a..6c50602 100644 --- a/nuklear.h +++ b/nuklear.h @@ -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); break; 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; } } @@ -20099,7 +20099,7 @@ nk_panel_end(struct nk_context *ctx) : (window->bounds.y + window->bounds.h)); struct nk_rect b = window->bounds; 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 */