diff options
author | Naoyuki Sawa <sawa_naoyuki-1@yahoo.co.jp> | 2016-11-16 11:32:33 +0900 |
---|---|---|
committer | Naoyuki Sawa <sawa_naoyuki-1@yahoo.co.jp> | 2016-11-16 11:32:33 +0900 |
commit | a7283af0695f368429185493514e503798e54193 (patch) | |
tree | 6ad6d6080658cf034848526c50f60fa806b89212 | |
parent | 8e603282a4531bf9826698a7687f1e18b1364b94 (diff) | |
download | sherlock.lv2-a7283af0695f368429185493514e503798e54193.tar.xz |
fix: popup border is not shown when using the default style settings
-rw-r--r-- | nuklear.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |