Skip to main content

Module zoom_lane

Module zoom_lane 

Source
Expand description

Zoom lane — author cinematic punch-ins on the timeline (ED.12 / M-EDIT).

The lane that sits the zoom regions ([edit::zoom::ZoomSegment]) beneath the video track, one block per region, laid out by the same fraction-of-duration math as the filmstrip so every lane stays pixel-aligned. Adding a block here writes a ZoomSegment the zoom engine (ED.16) compiles to a push-in at preview + export. Dragging a block’s body / edges to move + resize joins the deferred gesture pass; this chunk is the responsive layout + add / select / remove.

Structs§

ZoomBlock
A laid-out zoom region: its fractional position across the project plus its amount and a label.
ZoomLaneProps
Props for the ZoomLane component.

Functions§

ZoomLane
The zoom lane: the project’s zoom regions as selectable blocks, plus a “+ Zoom” affordance that drops a default region at the playhead. Reads the project, edit history, playhead, and zoom selection from context.
fraction 🔒
zoom_spans
Lay out the project’s zoom regions as proportional blocks (left + width fractions of the project duration), in list order.