From b326b15f7fb5e46ab9605fd5dd4cb6b925cfc9be Mon Sep 17 00:00:00 2001 From: Giganzo <158825920+Giganzo@users.noreply.github.com> Date: Thu, 30 Oct 2025 17:33:50 +0100 Subject: [PATCH] Fix hover state for game speed button in game window --- editor/run/game_view_plugin.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/editor/run/game_view_plugin.cpp b/editor/run/game_view_plugin.cpp index fac3b1c8e71..c776eed431c 100644 --- a/editor/run/game_view_plugin.cpp +++ b/editor/run/game_view_plugin.cpp @@ -1155,7 +1155,8 @@ GameView::GameView(Ref p_debugger, EmbeddedProcessBase *p_embe speed_state_button = memnew(MenuButton); main_menu_hbox->add_child(speed_state_button); speed_state_button->set_text(U"1.0×"); - speed_state_button->set_theme_type_variation(SceneStringName(FlatButton)); + speed_state_button->set_flat(false); + speed_state_button->set_theme_type_variation("FlatMenuButton"); speed_state_button->set_tooltip_text(TTRC("Change the game speed.")); speed_state_button->set_accessibility_name(TTRC("Speed State"));