Merge pull request #114290 from passivestar/dialog-windows-backgrounds

Fix background color of complex dialog windows in modern theme
This commit is contained in:
Rémi Verschelde 2026-01-01 16:46:56 +01:00
commit 679e592478
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -356,7 +356,7 @@ void ThemeModern::populate_shared_styles(const Ref<EditorTheme> &p_theme, Editor
p_config.window_style->set_corner_radius_all(0);
p_config.window_complex_style = p_config.window_style->duplicate();
p_config.window_complex_style->set_bg_color(p_config.surface_popup_color);
p_config.window_complex_style->set_bg_color(p_config.surface_lowest_color);
p_config.dialog_style = p_config.base_style->duplicate();
p_config.dialog_style->set_content_margin_all(p_config.popup_margin);