Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorArto Kitula <arto.kitula@gmail.com>2017-10-26 23:11:25 +0300
committerArto Kitula <arto.kitula@gmail.com>2017-10-26 23:11:25 +0300
commit1effab780951ead28c94f4a12ee6ddd04efdcfc1 (patch)
tree04a533ab19b59a8914073d01fadf450e042aeda2 /intern
parent03a582ceeb82e2fe70d8f9d7aa08374874aa0f1b (diff)
Fix T52984. Trackpad rotation to natural direction
Diffstat (limited to 'intern')
-rw-r--r--intern/ghost/intern/GHOST_SystemCocoa.mm2
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;