aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mac.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mac.m b/src/mac.m
index dd1d1e8..9a5de6e 100644
--- a/src/mac.m
+++ b/src/mac.m
@@ -635,9 +635,9 @@ handleCrossing(PuglWrapperView* view, NSEvent* event, const PuglEventType type)
double dx = -[event scrollingDeltaX];
double dy = [event scrollingDeltaY];
- if (![event hasPreciseScrollingDeltas]) {
- dx *= 10.0;
- dy *= 10.0;
+ if ([event hasPreciseScrollingDeltas]) {
+ dx /= 20.0;
+ dy /= 20.0;
}
const PuglScrollDirection dir =