diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-05-30 07:47:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-05-30 08:03:19 +0300 |
commit | 0c8c1602029b5a0a34b7750c03b03fe990104c0e (patch) | |
tree | 5e807f8f58549936ca5cd072e0a16f4fd8092646 /release/scripts | |
parent | 82e8e5c871f86e65f332cdde3bd484a55e7e8572 (diff) |
WM: use different drag thresholds for mouse/tablet events
Now a small threshold is used for mouse input,
avoiding delay when gizmos are activated on drag.
Tablet input threshold remains unchanged since
it's easier to make small movements when using a tablet.
A larger threshold for non-cursor input is now used (typically keyboard)
which improves usability when the "Pie Menu on Drag" key-map preference.
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_ui/space_userpref.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py index d1d65d7d238..79f7cdf6d5a 100644 --- a/release/scripts/startup/bl_ui/space_userpref.py +++ b/release/scripts/startup/bl_ui/space_userpref.py @@ -1433,9 +1433,11 @@ class USERPREF_PT_input_mouse(PreferencePanel, Panel): flow.prop(inputs, "use_mouse_emulate_3_button") flow.prop(inputs, "use_mouse_continuous") flow.prop(inputs, "use_drag_immediately") + flow.prop(inputs, "mouse_double_click_time", text="Double Click Speed") + flow.prop(inputs, "drag_threshold_mouse") + flow.prop(inputs, "drag_threshold_tablet") flow.prop(inputs, "drag_threshold") flow.prop(inputs, "move_threshold") - flow.prop(inputs, "mouse_double_click_time", text="Double Click Speed") class USERPREF_PT_navigation_orbit(PreferencePanel, Panel): |