mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 11:46:41 +01:00
editor: add note and advance; preparations
This commit is contained in:
parent
e00d870d70
commit
85a144798b
4 changed files with 47 additions and 45 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue