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

@@ -375,6 +375,7 @@ Particles2DEditorPlugin::Particles2DEditorPlugin(EditorNode *p_node) {
menu->get_popup()->add_separator();
menu->get_popup()->add_item(TTR("Convert to CPUParticles"), MENU_OPTION_CONVERT_TO_CPU_PARTICLES);
menu->set_text(TTR("Particles"));
menu->set_switch_on_hover(true);
toolbar->add_child(menu);
file = memnew(EditorFileDialog);