Repository navigation
Ease the dock's motion and stop it when animations are off - #16491
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
[Medium impact] The PR appears safe to merge; no actionable issues were found. SummaryThe dock and app grid now respect the animations-off setting.
No actionable issues found. dhh explicitly retained Reviews (1) · Last reviewed commit: "Ease the dock's motion and stop it when ..." · Reviewed by Greptile |
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.
The dock and its app grid timed their animations with bare numbers, so they kept moving after
omarchy toggle animationsturned animations off. Every duration now goes throughStyle.duration(), following the motion rules.Easing.OutCubic:Style.easeOutcrossed the short slide in a frame or two on screen and read as a pop.Style.easeOut.Easing.OutCubicinstead of linear, faster out (100ms) than back in (150ms).Button's spinner is gated.Verified on a 2560x1440 display at 1.6 scale by recording the dock at 60fps. Reveal is a visible 7-frame slide that settles in about 130ms, hide is 3 frames, and hovering an icon grows it over about 7 frames. With animations off, the reveal and hide each happen in a single frame, and launching an app shows no pulse, with the shell idle at 0-5% CPU.
test/shell.d/dock-test.shpasses.🤖 Generated with Claude Code