1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +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

@@ -273,6 +273,8 @@ MultiMeshEditor::MultiMeshEditor() {
options->set_text("MultiMesh");
options->set_button_icon(EditorNode::get_singleton()->get_editor_theme()->get_icon(SNAME("MultiMeshInstance3D"), EditorStringName(EditorIcons)));
options->set_flat(false);
options->set_theme_type_variation("FlatMenuButton");
options->get_popup()->add_item(TTR("Populate Surface"));
options->get_popup()->connect(SceneStringName(id_pressed), callable_mp(this, &MultiMeshEditor::_menu_option));