Smooth pane drags, overlays, and hover motion - #5
Draft
rorohecker wants to merge 2 commits into
Draft
Conversation
Keep splitter tracking instant while dragging, ease idle layout changes, fade modal overlays in, and use consistent hover timing without animating virtualized file-row highlights during scroll. Co-authored-by: rsn597 <rsn597@my.utexas.edu>
Panels fade and ease in from a few pixels instead of popping. Context menus stay snappy; the command palette drops in from above. Co-authored-by: rsn597 <rsn597@my.utexas.edu>
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.
Pane splitters used to ease on every drag frame, so the layout lagged the pointer and made scrolling/resizing feel drunk. This keeps tracking instant while dragging, and uses a short ease only for idle changes (double-click reset, preview open/close, simple-mode toolbar height).
Layout
0msduring drag (layout_dragging), ~200ms cubic ease when idlepreview_w > 0.5px+ clip)preview_wanimatesSpawn-in
Chrome
viewport-yis intentionally not animated.Verified with
cargo clippy --lib --locked --offline -- -D warningsandcargo check --locked --offline. This is a native Windows app, so motion was not GUI-tested on this Linux VM.