diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mac.m | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |