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

@@ -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"));