You've already forked godot
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:
@@ -569,6 +569,8 @@ MeshInstance3DEditor::MeshInstance3DEditor() {
|
||||
options = memnew(MenuButton);
|
||||
options->set_text(TTR("Mesh"));
|
||||
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("Create Collision Shape..."), MENU_OPTION_CREATE_COLLISION_SHAPE);
|
||||
|
||||
Reference in New Issue
Block a user