mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 12:16:42 +01:00
delete sample
This commit is contained in:
parent
5bd9068bbe
commit
8dedc8fd5f
2 changed files with 6 additions and 1 deletions
|
|
@ -163,6 +163,10 @@ keymap!(KEYS_GROOVEBOX: |state: Groovebox, input: Event| GrooveboxCommand {
|
|||
} else {
|
||||
SamplerCommand::RecordBegin(u7::from(state.editor.note_point() as u8))
|
||||
}),
|
||||
// Shift-Del: delete sample
|
||||
shift(key(Delete)) => Cmd::Sampler(
|
||||
SamplerCommand::SetSample(u7::from(state.editor.note_point() as u8), None)
|
||||
),
|
||||
// e: Toggle between editing currently playing or other phrase
|
||||
shift(key(Char('e'))) => if let Some((_, Some(playing))) = state.player.play_phrase() {
|
||||
let editing = state.editor.phrase().as_ref().map(|p|p.read().unwrap().clone());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue