wip: build arranger out of freestanding functions

This commit is contained in:
🪞👃🪞 2025-03-12 04:17:33 +02:00
parent 4dbbe0340a
commit 4229364363
12 changed files with 570 additions and 472 deletions

View file

@ -6,7 +6,6 @@ atom_command!(InputCommand: |app: Tek| {
command!(|self: InputCommand, app: Tek|match self {
Self::Add => {
app.midi_ins.push(JackMidiIn::new(&app.jack, &format!("M/{}", app.midi_ins.len()), &[])?);
app.redraw_arranger();
None
},
});

View file

@ -6,7 +6,6 @@ atom_command!(OutputCommand: |app: Tek| {
command!(|self: OutputCommand, app: Tek|match self {
Self::Add => {
app.midi_outs.push(JackMidiOut::new(&app.jack, &format!("{}/M", app.midi_outs.len()), &[])?);
app.redraw_arranger();
None
},
});