Files
openswarm/frontend
SirKentut c4704ff27a pierre/clamp-mouse-wheel-zoom: tame discrete wheel notches
A mouse-wheel notch arrives as deltaY 100 where a trackpad sends ~1-10;
piped through the zoom curve at default sensitivity that's a ~24% jump
per notch, and macOS wheel acceleration stacks them. Clamp the per-event
zoom delta to +/-24 so each notch is a small predictable step. No-op for
trackpads (their deltas are already under the cap), so the continuous
pinch/scroll curve is unchanged.
2026-07-14 16:03:02 -07:00
..