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 /source/blender/makesdna | |
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 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_userdef_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h index f629e1c787a..85fdc87d762 100644 --- a/source/blender/makesdna/DNA_userdef_types.h +++ b/source/blender/makesdna/DNA_userdef_types.h @@ -760,7 +760,7 @@ typedef struct UserDef { * If keeping a pie menu spawn button pressed after this time, * it turns into a drag/release pie menu. */ - short pie_interaction_type; + short pie_tap_timeout; /** * Direction in the pie menu will always be calculated from the * initial position within this time limit. |