fix: popup border is not shown when using the default style settings
This commit is contained in:
parent
8e603282a4
commit
a7283af069
@ -15645,6 +15645,7 @@ nk_style_from_table(struct nk_context *ctx, const struct nk_color *table)
|
||||
win->background = table[NK_COLOR_WINDOW];
|
||||
win->fixed_background = nk_style_item_color(table[NK_COLOR_WINDOW]);
|
||||
win->border_color = table[NK_COLOR_BORDER];
|
||||
win->popup_border_color = table[NK_COLOR_BORDER];
|
||||
win->combo_border_color = table[NK_COLOR_BORDER];
|
||||
win->contextual_border_color = table[NK_COLOR_BORDER];
|
||||
win->menu_border_color = table[NK_COLOR_BORDER];
|
||||
@ -15662,6 +15663,7 @@ nk_style_from_table(struct nk_context *ctx, const struct nk_color *table)
|
||||
win->menu_border = 1.0f;
|
||||
win->group_border = 1.0f;
|
||||
win->tooltip_border = 1.0f;
|
||||
win->popup_border = 1.0f;
|
||||
win->border = 2.0f;
|
||||
|
||||
win->padding = nk_vec2(4,4);
|
||||
|
Loading…
Reference in New Issue
Block a user