mirror of
https://github.com/godotengine/godot.git
synced 2025-10-24 02:13:36 +00:00
Set switch_on_hover to true for the remaining menus
This commit is contained in:
parent
9fc84061dd
commit
32b9b3159a
6 changed files with 6 additions and 0 deletions
|
|
@ -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"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue