Repository navigation
feat(zoom): spring wheel glide and scroll zoom speed, as on the Mac (#548) - #549
Merged
Merged
Conversation
…s on the Mac (#548) The wheel glide was a first-order approach (tau 80 ms) that moved part of a notch on the very first frame. It now uses SpringToward in log space (250 ms to 95%, eases in, keeps its speed across notches), the same as Wind for Mac. New wheelZoomSpeed (0.1-3, default 0.6 like the Mac) sets how far a notch zooms relative to the hold speed; Settings > Zoom has the slider. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Kg7JN6HgdB9FaHJsgLxovP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #548.
ZoomControllerglides to the wheel target withSpringTowardin log space (250 ms to 95%), the same spring as caret tracking and as Wind for Mac. It eases in (under 2% of a notch on the first frame, against 8.4% before) and keeps its speed across back-to-back notches. Settling waits for the speed to drop too.wheelZoomSpeed(0.1 to 3, default 0.6 like the Mac): how far a notch zooms relative to the hold speed. Plumbed through config, the template,setWheelSpeed, the schema ("Scroll zoom speed" under Zoom > Level and speed), the defaults fixture and docs 08. Default notch size changes from 1.0 to 0.6 of the hold speed.Verified:
build.bat test675/675,test:rules, Playwright 218/218, signed UIAccess deploy. The owner tested it live: Ctrl+Alt+scroll at 0.5 feels right.Note for #547 (shared fixtures): its
winwheel-glide rows describe the old exponential. Once this merges they match the Mac rows and can become shared.🤖 Generated with Claude Code
https://claude.ai/code/session_01Kg7JN6HgdB9FaHJsgLxovP