Skip to main content

add_zoom_default

Function add_zoom_default 

Source
pub fn add_zoom_default(
    project: RwSignal<Option<EditProject>>,
    history: StoredValue<Option<History>>,
    at: u64,
)
Expand description

Add a default ~1.5 s zoom (1.6× centre) starting at project frame at, clamped to the timeline. No-op if the window would be empty. AddZoom assigns the region a fresh id.