diff options
author | Ton Roosendaal <ton@blender.org> | 2013-01-06 20:28:44 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2013-01-06 20:28:44 +0400 |
commit | bb2fd5da015dd2c14b3043bdc6b7c4217d3c0744 (patch) | |
tree | f65e77cd8a54733dbb984a26b22e205f14cfe05f /source/blender/windowmanager | |
parent | c87fed669b2c76e136e4587cd817dc9586809574 (diff) |
Trackpad: "pinch/stretch" zooming is non-inversed in default now.
Only tested on Mac trackpads... I'm on it.
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/intern/wm_event_system.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c index a6b3efd30bf..edf5700673c 100644 --- a/source/blender/windowmanager/intern/wm_event_system.c +++ b/source/blender/windowmanager/intern/wm_event_system.c @@ -2792,6 +2792,8 @@ void wm_event_add_ghostevent(wmWindowManager *wm, wmWindow *win, int type, int U switch (pd->subtype) { case GHOST_kTrackpadEventMagnify: event.type = MOUSEZOOM; + pd->deltaX = -pd->deltaX; + pd->deltaY = -pd->deltaY; break; case GHOST_kTrackpadEventRotate: event.type = MOUSEROTATE; |