Function key_button

Source
fn key_button(
    ui: &mut Ui,
    a: &mut Animated,
    t: f64,
    palette: &Palette,
    g: &mut Gesture,
    at: (u64, usize, usize),
)
Expand description

Diamond keyframe toggle for one parameter at the playhead; right-click clears every key. at only has to be unique inside the strip — the mixer edits a fresh clone of the bus list every frame, so an id derived from the Animated’s address (crate::ui::key_buttons) would not survive a click.