diff options
-rw-r--r-- | src/macos.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macos.m b/src/macos.m index 2d082d28..e05222a0 100644 --- a/src/macos.m +++ b/src/macos.m | |||
@@ -442,7 +442,7 @@ static iBool processScrollWheelEvent_(NSEvent *event) { | |||
442 | if (isPerPixel) { | 442 | if (isPerPixel) { |
443 | setInertia_MouseWheelEvent(&e, isInertia); | 443 | setInertia_MouseWheelEvent(&e, isInertia); |
444 | setScrollFinished_MouseWheelEvent(&e, isEnded); | 444 | setScrollFinished_MouseWheelEvent(&e, isEnded); |
445 | e.x = -event.scrollingDeltaX * win->pixelRatio; | 445 | e.x = event.scrollingDeltaX * win->pixelRatio; |
446 | e.y = event.scrollingDeltaY * win->pixelRatio; | 446 | e.y = event.scrollingDeltaY * win->pixelRatio; |
447 | /* Only scroll on one axis at a time. */ | 447 | /* Only scroll on one axis at a time. */ |
448 | if (swipeDir_ == 0) { | 448 | if (swipeDir_ == 0) { |