mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 12:16: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
|
|
@ -61,6 +61,8 @@ provide!(usize: |self: MidiEditor| {
|
|||
":note-pos" => self.note_pos(),
|
||||
":note-pos-next" => self.note_pos() + 1,
|
||||
":note-pos-prev" => self.note_pos().saturating_sub(1),
|
||||
":note-pos-next-octave" => self.note_pos() + 12,
|
||||
":note-pos-prev-octave" => self.note_pos().saturating_sub(12),
|
||||
|
||||
":note-len" => self.note_len(),
|
||||
":note-len-next" => self.note_len() + 1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue