Set switch_on_hover to true for the remaining menus
This commit is contained in:
1 parent
9fc84061dd
commit
32b9b3159a
6 files changed
+6
No files matched your search
@@ -412,6 +412,7 @@ void MeshInstanceEditor::_bind_methods() {
|
||||
MeshInstanceEditor::MeshInstanceEditor() {
|
||||
|
||||
options = memnew(MenuButton);
|
||||
options->set_switch_on_hover(true);
|
||||
SpatialEditor::get_singleton()->add_control_to_menu_panel(options);
|
||||
|
||||
options->set_text(TTR("Mesh"));
|
||||
|
||||
Reference in new issue
Block a user