aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaoyuki Sawa <sawa_naoyuki-1@yahoo.co.jp>2016-11-16 11:32:33 +0900
committerNaoyuki Sawa <sawa_naoyuki-1@yahoo.co.jp>2016-11-16 11:32:33 +0900
commita7283af0695f368429185493514e503798e54193 (patch)
tree6ad6d6080658cf034848526c50f60fa806b89212
parent8e603282a4531bf9826698a7687f1e18b1364b94 (diff)
downloadsherlock.lv2-a7283af0695f368429185493514e503798e54193.tar.xz
fix: popup border is not shown when using the default style settings
-rw-r--r--nuklear.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/nuklear.h b/nuklear.h
index 9632a43..a3c925a 100644
--- a/nuklear.h
+++ b/nuklear.h
@@ -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);