Skip to content

Navigation Menu

Sign in
Sign up

feat(timeline): add draggable zoom toolbar with zoom-to-fit - #57

Open
zack-the-worker wants to merge 1 commit into
diffusionstudio:main from
zack-the-worker:timeline-zoom-toolbar
Open

feat(timeline): add draggable zoom toolbar with zoom-to-fit #57
zack-the-worker wants to merge 1 commit into
diffusionstudio:main from
zack-the-worker:timeline-zoom-toolbar

Conversation

@zack-the-worker

@zack-the-worker zack-the-worker commented Sep 3, 2026
edited
Loading

Copy link
Copy Markdown

Adds a floating zoom control to the timeline: zoom-out/zoom-in buttons, an exponential zoom slider with a live percentage readout, and a Fit button that frames the scene's content span. The pill drags anywhere via a :: grip, and its position is persisted per user.

The slider tracks pointer-synchronously (a local draft, not the frame-sampled zoom) and coalesces store writes to one per frame; only the drag's end reports back to the scene's timeline view. Zoom and fit both clamp to the existing resolution range and anchor the viewport center/left padding the way the canvas camera does.
Screenshot 2026年09月03日 at 22 30 50

Closes #56

Adds a floating zoom control to the timeline: zoom-out/zoom-in buttons,
an exponential zoom slider with a live percentage readout, and a Fit
button that frames the scene's content span. The pill drags anywhere
via a :: grip, and its position is persisted per user.
The slider tracks pointer-synchronously (a local draft, not the
frame-sampled zoom) and coalesces store writes to one per frame; only
the drag's end reports back to the scene's timeline view. Zoom and fit
both clamp to the existing resolution range and anchor the viewport
center/left padding the way the canvas camera does.

vercel Bot commented Sep 3, 2026

Copy link
Copy Markdown

@zack-the-worker is attempting to deploy a commit to the Diffusion Studio Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[Feature Request] Add Zoom Slider and "Fit to Screen" Button for Timeline

1 participant

AltStyle によって変換されたページ (->オリジナル) /