diff options
author | Arto Kitula <arto.kitula@gmail.com> | 2017-10-26 23:11:25 +0300 |
---|---|---|
committer | Arto Kitula <arto.kitula@gmail.com> | 2017-10-26 23:11:25 +0300 |
commit | 1effab780951ead28c94f4a12ee6ddd04efdcfc1 (patch) | |
tree | 04a533ab19b59a8914073d01fadf450e042aeda2 /intern/ghost | |
parent | 03a582ceeb82e2fe70d8f9d7aa08374874aa0f1b (diff) |
Fix T52984. Trackpad rotation to natural direction
Diffstat (limited to 'intern/ghost')
-rw-r--r-- | intern/ghost/intern/GHOST_SystemCocoa.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_SystemCocoa.mm b/intern/ghost/intern/GHOST_SystemCocoa.mm index 42ccfb06fd9..b4fb788bca9 100644 --- a/intern/ghost/intern/GHOST_SystemCocoa.mm +++ b/intern/ghost/intern/GHOST_SystemCocoa.mm @@ -1470,7 +1470,7 @@ GHOST_TSuccess GHOST_SystemCocoa::handleMouseEvent(void *eventPtr) GHOST_TInt32 x, y; window->clientToScreenIntern(mousePos.x, mousePos.y, x, y); pushEvent(new GHOST_EventTrackpad([event timestamp] * 1000, window, GHOST_kTrackpadEventRotate, x, y, - [event rotation] * 5.0, 0)); + [event rotation] * -5.0, 0)); } default: return GHOST_kFailure; |