diff options
author | Guilherme Felipe <guilhermefelipecgs@gmail.com> | 2019-04-20 15:52:01 -0300 |
---|---|---|
committer | Guilherme Felipe <guilhermefelipecgs@gmail.com> | 2019-04-20 17:43:23 -0300 |
commit | d835738045353d166ed307360a6b2959f9c3e557 (patch) | |
tree | 98be48aa086877a0c27a97077a90d6c963d4334f /editor/plugins/sprite_editor_plugin.cpp | |
parent | 175942dcd10a0dc2e35c4e52992404c5c974c45f (diff) | |
download | redot-engine-d835738045353d166ed307360a6b2959f9c3e557.tar.gz |
Small ux improvement
Diffstat (limited to 'editor/plugins/sprite_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/sprite_editor_plugin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/sprite_editor_plugin.cpp b/editor/plugins/sprite_editor_plugin.cpp index fbc72b1396..7642bfaf04 100644 --- a/editor/plugins/sprite_editor_plugin.cpp +++ b/editor/plugins/sprite_editor_plugin.cpp @@ -549,6 +549,7 @@ SpriteEditor::SpriteEditor() { options->get_popup()->add_item(TTR("Convert to Polygon2D"), MENU_OPTION_CONVERT_TO_POLYGON_2D); options->get_popup()->add_item(TTR("Create CollisionPolygon2D Sibling"), MENU_OPTION_CREATE_COLLISION_POLY_2D); options->get_popup()->add_item(TTR("Create LightOccluder2D Sibling"), MENU_OPTION_CREATE_LIGHT_OCCLUDER_2D); + options->set_switch_on_hover(true); options->get_popup()->connect("id_pressed", this, "_menu_option"); |