From db36eff9f7d1eea8ed93434bdb679c37e31681db Mon Sep 17 00:00:00 2001 From: Justin Jones Date: Thu, 10 Jan 2019 15:46:44 +0100 Subject: 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 --- source/blender/makesdna/DNA_userdef_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/makesdna') 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. -- cgit v1.2.3