diff options
author | Joshua Leung <aligorith@gmail.com> | 2010-04-02 07:52:44 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2010-04-02 07:52:44 +0400 |
commit | 7b98f6220b2ce1739331f87722e0f88a78ba1a92 (patch) | |
tree | 6205f5dafdd83b85910503422e096c9ab600cc4d /source/blender/windowmanager/wm_event_types.h | |
parent | 174696fd542e966bc218957cc9a73eea14aefa06 (diff) |
Bugfix #21853: Border zoom in the 2D-Views zooms out
* Fixed the way the operator was checking for what the user wanted when using the operator
* Added a few specific defines to a copy of the gesture border modal keymap (added one for zooming only) labelled 'In' and 'Out' which make this more useful than being hacked to use select and deselect
Diffstat (limited to 'source/blender/windowmanager/wm_event_types.h')
-rw-r--r-- | source/blender/windowmanager/wm_event_types.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/windowmanager/wm_event_types.h b/source/blender/windowmanager/wm_event_types.h index 5f6af878976..59dddbaea5b 100644 --- a/source/blender/windowmanager/wm_event_types.h +++ b/source/blender/windowmanager/wm_event_types.h @@ -283,6 +283,9 @@ #define GESTURE_MODAL_BORDER_BEGIN 8 /* border select, activate, use release to detect which button */ +#define GESTURE_MODAL_IN 9 +#define GESTURE_MODAL_OUT 10 + #endif /* WM_EVENT_TYPES_H */ |