diff options
author | Justin Jones <jjones780> | 2019-01-10 17:46:44 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-01-10 17:55:34 +0300 |
commit | db36eff9f7d1eea8ed93434bdb679c37e31681db (patch) | |
tree | ea790b0ee8371dfac928952324a131cd14130104 /release | |
parent | f572a157ba7846940012271a030de89db0a93c33 (diff) |
UI: make pie menus stick only when tapping key.
When holding down the key for a while, the pie menu will disappear when
releasing the key. This is under the assumption that in this case the user
decided to cancel the action.
Differential Revision: https://developer.blender.org/D4180
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_userpref.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py index 489ec261ded..b198c6ea261 100644 --- a/release/scripts/startup/bl_ui/space_userpref.py +++ b/release/scripts/startup/bl_ui/space_userpref.py @@ -344,6 +344,7 @@ class USERPREF_PT_interface_menus_mouse_over(PreferencePanel): class USERPREF_PT_interface_menus_pie(PreferencePanel): bl_label = "Pie Menus" bl_parent_id = "USERPREF_PT_interface_menus" + bl_options = {'DEFAULT_CLOSED'} def draw_props(self, context, layout): prefs = context.preferences @@ -352,6 +353,7 @@ class USERPREF_PT_interface_menus_pie(PreferencePanel): flow = layout.grid_flow(row_major=False, columns=0, even_columns=True, even_rows=False, align=False) flow.prop(view, "pie_animation_timeout") + flow.prop(view, "pie_tap_timeout") flow.prop(view, "pie_initial_timeout") flow.prop(view, "pie_menu_radius") flow.prop(view, "pie_menu_threshold") |