diff options
author | David Robillard <d@drobilla.net> | 2025-01-21 12:35:17 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2025-01-21 12:35:17 -0500 |
commit | 8282e76b8a74c350bf6025f7b933b6ab8b58bb34 (patch) | |
tree | 852b114ecde4e1800efd6db5b53ff89168b93838 | |
parent | af8db1f1ac957b53667150af903985b1cdb801af (diff) | |
download | pugl-8282e76b8a74c350bf6025f7b933b6ab8b58bb34.tar.gz pugl-8282e76b8a74c350bf6025f7b933b6ab8b58bb34.tar.bz2 pugl-8282e76b8a74c350bf6025f7b933b6ab8b58bb34.zip |
Make MacOS touchpad scroll sensitivity closer to other platforms
-rw-r--r-- | src/mac.m | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 = |