allow fall-through clicks on context menus; fix busted context menu sizing in theme color popup

This commit is contained in:
Ryan Fleury
2024-01-11 11:05:02 -08:00
parent c8723613df
commit dd43fd2564
2 changed files with 20 additions and 13 deletions
+2 -1
View File
@@ -8596,7 +8596,8 @@ DF_VIEW_UI_FUNCTION_DEF(Theme)
color < DF_ThemeColor_COUNT;
color = (DF_ThemeColor)(color+1))
{
UI_PrefWidth(ui_em(28.5f, 1)) UI_PrefHeight(ui_children_sum(1.f)) UI_CtxMenu(color_ctx_menu_keys[color]) UI_Padding(ui_em(1.5f, 1.f))
UI_CtxMenu(color_ctx_menu_keys[color]) UI_Padding(ui_em(1.5f, 1.f))
UI_PrefWidth(ui_em(28.5f, 1)) UI_PrefHeight(ui_children_sum(1.f))
{
// rjf: build title
UI_Row