From bcfca0295ce415b0473e0f5f58b0401a52daf5e1 Mon Sep 17 00:00:00 2001 From: passivestar <60579014+passivestar@users.noreply.github.com> Date: Thu, 7 Mar 2024 21:16:21 +0400 Subject: [PATCH] Add missing normal and hover states to `EditorLogFilterButton` --- editor/themes/editor_theme_manager.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/editor/themes/editor_theme_manager.cpp b/editor/themes/editor_theme_manager.cpp index 6849d879231..8aa2fe41cef 100644 --- a/editor/themes/editor_theme_manager.cpp +++ b/editor/themes/editor_theme_manager.cpp @@ -1852,6 +1852,9 @@ void EditorThemeManager::_populate_editor_styles(const Ref &p_theme Ref editor_log_button_pressed = style_flat_button_pressed->duplicate(); editor_log_button_pressed->set_border_width(SIDE_BOTTOM, 2 * EDSCALE); editor_log_button_pressed->set_border_color(p_config.accent_color); + + p_theme->set_stylebox("normal", "EditorLogFilterButton", style_flat_button); + p_theme->set_stylebox("hover", "EditorLogFilterButton", style_flat_button_hover); p_theme->set_stylebox("pressed", "EditorLogFilterButton", editor_log_button_pressed); }