mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-09 05:06:43 +01:00
vertical scroll sequencer, pt.4
This commit is contained in:
parent
d1c892a235
commit
6665921de3
2 changed files with 12 additions and 4 deletions
|
|
@ -113,7 +113,15 @@ impl Handle<Tui> for PhraseEditor<Tui> {
|
|||
false => { self.note_axis.write().unwrap().start_dec(1); },
|
||||
},
|
||||
key!(KeyCode::Down) => match self.entered {
|
||||
true => { self.note_axis.write().unwrap().point_inc(1); },
|
||||
true => {
|
||||
let mut axis = self.note_axis.write().unwrap();
|
||||
axis.point_inc(1);
|
||||
if let Some(point) = axis.point {
|
||||
if point > 73 {
|
||||
axis.point = Some(73);
|
||||
}
|
||||
}
|
||||
},
|
||||
false => { self.note_axis.write().unwrap().start_inc(1); },
|
||||
},
|
||||
key!(KeyCode::Left) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue