mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Merge pull request #102786 from Giganzo/top-toolbar-menu-button-styles
Fix MenuButton style in editor top menu bar
This commit is contained in:
commit
ef3e8b1609
8 changed files with 16 additions and 0 deletions
|
|
@ -154,6 +154,8 @@ CSGShapeEditor::CSGShapeEditor() {
|
|||
options->hide();
|
||||
options->set_text(TTR("CSG"));
|
||||
options->set_switch_on_hover(true);
|
||||
options->set_flat(false);
|
||||
options->set_theme_type_variation("FlatMenuButton");
|
||||
Node3DEditor::get_singleton()->add_control_to_menu_panel(options);
|
||||
|
||||
options->get_popup()->add_item(TTR("Bake Mesh Instance"), MENU_OPTION_BAKE_MESH_INSTANCE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue