Repository navigation
Menu bar: sweeping glow on the mark instead of the in-flight dot - #340
Merged
Merged
Conversation
While requests are running, the mark (or the numbers, in the numbers-only style) dims and a bright band sweeps across it: 1.3 s across, 0.5 s rest. It is a Core Animation mask on the status button's layer, so the render server drives it and the app does no per-frame work (about 0.4% CPU in a debug build, against about 4% for redrawing the button 20 times a second). The mask is rebuilt only when the button or image geometry changes, and the animation keeps a fixed begin time so the band does not restart. It is taken off while the menu is open (older macOS draws the highlight in the button) and stands still in the middle when Reduce Motion is on. bar_image takes an optional phase so previews and screenshots can draw a given frame; menubar_preview gains --glow to export one cycle of frames. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
While requests are running, the menu bar mark (or the two numbers in the numbers-only style) dims and a bright band sweeps across it, replacing the small dot.
bar_imagetakes an optional phase so previews/screenshots draw a given frame;menubar_preview --glowexports one cycle.objc2-quartz-coreadded with only the features used.🤖 Generated with Claude Code