1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-31 18:41:20 +00:00

Fix hover state for game speed button in game window

This commit is contained in:
Giganzo
2025-10-30 17:33:50 +01:00
parent e4c9950f62
commit b326b15f7f

View File

@@ -1155,7 +1155,8 @@ GameView::GameView(Ref<GameViewDebugger> 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"));