diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-04-21 12:50:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-21 12:50:45 +0200 |
commit | e003324a1ed88b2802920073f6bcfd46e8a6815a (patch) | |
tree | bbf113e18d0c003c6b2b032426b631e18c45d70a /editor/plugins/skeleton_2d_editor_plugin.cpp | |
parent | 03dfac8609c01de4cfc219a5703ece2f2bb6b3f1 (diff) | |
parent | d835738045353d166ed307360a6b2959f9c3e557 (diff) |
Merge pull request #28245 from guilhermefelipecgs/open_menu
Small ux improvement
Diffstat (limited to 'editor/plugins/skeleton_2d_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/skeleton_2d_editor_plugin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/skeleton_2d_editor_plugin.cpp b/editor/plugins/skeleton_2d_editor_plugin.cpp index ef3e17279c..0ccb60e39e 100644 --- a/editor/plugins/skeleton_2d_editor_plugin.cpp +++ b/editor/plugins/skeleton_2d_editor_plugin.cpp @@ -108,6 +108,7 @@ Skeleton2DEditor::Skeleton2DEditor() { options->get_popup()->add_item(TTR("Make Rest Pose (From Bones)"), MENU_OPTION_MAKE_REST); options->get_popup()->add_separator(); options->get_popup()->add_item(TTR("Set Bones to Rest Pose"), MENU_OPTION_SET_REST); + options->set_switch_on_hover(true); options->get_popup()->connect("id_pressed", this, "_menu_option"); |