1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Fix MenuButton style in editor top menu bar

This commit is contained in:
Giganzo
2025-02-10 10:03:54 +01:00
parent f418603522
commit f7b6f98215
8 changed files with 16 additions and 0 deletions

View File

@@ -133,5 +133,7 @@ ParallaxBackgroundEditorPlugin::ParallaxBackgroundEditorPlugin() {
menu->get_popup()->add_item(TTR("Convert to Parallax2D"), MENU_CONVERT_TO_PARALLAX_2D);
menu->set_text(TTR("ParallaxBackground"));
menu->set_switch_on_hover(true);
menu->set_flat(false);
menu->set_theme_type_variation("FlatMenuButton");
toolbar->add_child(menu);
}