mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 19:56:42 +01:00
midi: add pgup/pgdn; cleanup
This commit is contained in:
parent
22155f7acf
commit
397e71edee
15 changed files with 96 additions and 212 deletions
|
|
@ -182,6 +182,14 @@ impl Tek {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn toggle_modal (&mut self, modal: Option<Modal>) {
|
||||
self.modal = if self.modal == modal {
|
||||
None
|
||||
} else {
|
||||
modal
|
||||
}
|
||||
}
|
||||
|
||||
// Create new clip in pool when entering empty cell
|
||||
pub fn clip_auto_create (&mut self) {
|
||||
if let Some(ref pool) = self.pool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue