mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-08 12:46:42 +01:00
compact sampler
This commit is contained in:
parent
2432f27e8c
commit
15f71d0973
4 changed files with 135 additions and 131 deletions
|
|
@ -17,7 +17,12 @@ pub fn handle (state: &mut Launcher, event: &AppEvent) -> Usually<bool> {
|
|||
}
|
||||
},
|
||||
LauncherView::Chains => {
|
||||
true
|
||||
let i = state.col().saturating_sub(1);
|
||||
if let Some(track) = state.tracks.get_mut(i) {
|
||||
crate::device::chain::handle(&mut *track.chain.state(), event)?
|
||||
} else {
|
||||
true
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue