mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 20:26:42 +01:00
enable sequencer zoom in/out during editing
This commit is contained in:
parent
478624711f
commit
d555ce1e9e
1 changed files with 6 additions and 0 deletions
|
|
@ -111,6 +111,12 @@ impl Handle<Tui> for PhraseEditor<Tui> {
|
||||||
true => { self.time_axis.point_inc(); },
|
true => { self.time_axis.point_inc(); },
|
||||||
false => { self.time_axis.start_inc(); },
|
false => { self.time_axis.start_inc(); },
|
||||||
},
|
},
|
||||||
|
key!(KeyCode::Char('>')) => {
|
||||||
|
self.time_axis.scale = prev_note_length(self.time_axis.scale)
|
||||||
|
},
|
||||||
|
key!(KeyCode::Char('<')) => {
|
||||||
|
self.time_axis.scale = next_note_length(self.time_axis.scale)
|
||||||
|
},
|
||||||
key!(KeyCode::Char(',')) => match self.entered {
|
key!(KeyCode::Char(',')) => match self.entered {
|
||||||
true => { self.note_len = prev_note_length(self.note_len) },
|
true => { self.note_len = prev_note_length(self.note_len) },
|
||||||
false => { self.time_axis.scale = next_note_length(self.time_axis.scale) },
|
false => { self.time_axis.scale = next_note_length(self.time_axis.scale) },
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue