From 814e9cab660c1a7e5bbd6474f27e31130e9345b1 Mon Sep 17 00:00:00 2001 From: Michael Alexsander Date: Fri, 5 Dec 2025 12:18:11 -0300 Subject: [PATCH] Make movie mode button be dark when enabled on the modern theme --- editor/themes/theme_modern.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/editor/themes/theme_modern.cpp b/editor/themes/theme_modern.cpp index 9a64725fee9..11e698685ac 100644 --- a/editor/themes/theme_modern.cpp +++ b/editor/themes/theme_modern.cpp @@ -1645,13 +1645,14 @@ void ThemeModern::populate_editor_styles(const Ref &p_theme, Editor p_theme->set_stylebox(SceneStringName(pressed), "RunBarButton", p_config.base_empty_wide_style); p_theme->set_stylebox(SceneStringName(hover), "RunBarButton", run_bar_hover); - // FIXME: Decide if the faded color should be used in the modern theme as well. + // Needs to present even if unused. p_theme->set_type_variation("RunBarButtonMovieMakerDisabled", "RunBarButton"); p_theme->set_type_variation("RunBarButtonMovieMakerEnabled", "RunBarButton"); - // The icon will be surrounded by the accent color, no need to colorize it. - p_theme->set_color("icon_pressed_color", "RunBarButtonMovieMakerEnabled", p_config.icon_pressed_color); - p_theme->set_color("icon_hover_pressed_color", "RunBarButtonMovieMakerEnabled", p_config.icon_pressed_color); + p_theme->set_color("icon_normal_color", "RunBarButtonMovieMakerEnabled", Color(0, 0, 0, 0.7)); + p_theme->set_color("icon_pressed_color", "RunBarButtonMovieMakerEnabled", Color(0, 0, 0, 0.84)); + p_theme->set_color("icon_hover_color", "RunBarButtonMovieMakerEnabled", Color(0, 0, 0, 0.9)); + p_theme->set_color("icon_hover_pressed_color", "RunBarButtonMovieMakerEnabled", Color(0, 0, 0, 0.84)); // Bottom panel. Ref style_bottom_panel = p_config.content_panel_style->duplicate();