aboutsummaryrefslogtreecommitdiffstats
path: root/src/mac.m
diff options
context:
space:
mode:
Diffstat (limited to 'src/mac.m')
-rw-r--r--src/mac.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mac.m b/src/mac.m
index ad1ef2b..dcc2ee3 100644
--- a/src/mac.m
+++ b/src/mac.m
@@ -627,7 +627,7 @@ handleCrossing(PuglWrapperView* view, NSEvent* event, const PuglEventType type)
{
const NSPoint wloc = [self eventLocation:event];
const NSPoint rloc = [NSEvent mouseLocation];
- const double dx = [event scrollingDeltaX];
+ const double dx = -[event scrollingDeltaX];
const double dy = [event scrollingDeltaY];
const PuglScrollDirection dir =
((dx == 0.0 && dy > 0.0)