Function snap_target

Source
fn snap_target(
    t: f64,
    thr: f64,
    p: &Project,
    playhead: f64,
    exclude: &[u64],
) -> Option<f64>
Expand description

Snap target for t: 0, playhead, in/out, edges of clips not in exclude — within thr seconds.