render chain with SplitFocus

This commit is contained in:
🪞👃🪞 2024-07-11 20:53:20 +03:00
parent a39e694a3e
commit c3040cef1c
12 changed files with 247 additions and 147 deletions

View file

@ -96,11 +96,11 @@ const KEYMAP: &'static [KeyBinding<App>] = keymap!(App {
}],
[Char('='), NONE, "zoom_in", "Zoom in", |app: &mut App| {
app.time_zoom = prev_note_length(app.time_zoom);
app.seq_buf.time_zoom = prev_note_length(app.seq_buf.time_zoom);
Ok(true)
}],
[Char('-'), NONE, "zoom_out", "Zoom out", |app: &mut App| {
app.time_zoom = next_note_length(app.time_zoom);
app.seq_buf.time_zoom = next_note_length(app.seq_buf.time_zoom);
Ok(true)
}],