1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Set switch_on_hover to true for the remaining menus

This commit is contained in:
Guilherme Felipe
2019-04-25 10:27:33 -03:00
parent 9fc84061dd
commit 32b9b3159a
6 changed files with 6 additions and 0 deletions

View File

@@ -293,6 +293,7 @@ void MultiMeshEditor::_bind_methods() {
MultiMeshEditor::MultiMeshEditor() {
options = memnew(MenuButton);
options->set_switch_on_hover(true);
SpatialEditor::get_singleton()->add_control_to_menu_panel(options);
options->set_text("MultiMesh");