editor: add note and advance; preparations

This commit is contained in:
🪞👃🪞 2025-05-11 04:01:23 +03:00
parent e00d870d70
commit 85a144798b
4 changed files with 47 additions and 45 deletions

View file

@ -280,7 +280,7 @@ handle!(TuiIn: |self: App, input|Ok(if let Some(command) = self.config.keys.comm
// update linked sampler after editor action
app.sampler_mut().map(|sampler|match command {
// autoselect: automatically select sample in sampler
MidiEditCommand::NotePos { pos } => { sampler.set_note_pos(pos); },
MidiEditCommand::SetNotePos { pos } => { sampler.set_note_pos(pos); },
_ => {}
});
undo