Skip to content

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

Open
zack-the-worker wants to merge 1 commit into
diffusionstudio:mainfrom
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:mainfrom
zack-the-worker:timeline-zoom-toolbar

Conversation

@zack-the-worker

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

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

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant