mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Fix MenuButton style in editor top menu bar
This commit is contained in:
parent
f418603522
commit
f7b6f98215
8 changed files with 16 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue