mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-09 13:16:44 +01:00
fix note cursor length and advancement
This commit is contained in:
parent
98fa0c4c4f
commit
35599c6cde
3 changed files with 17 additions and 14 deletions
|
|
@ -127,9 +127,7 @@ impl Handle<Tui> for PhraseEditor<Tui> {
|
|||
},
|
||||
key!(KeyCode::Char('a')) => if self.entered {
|
||||
self.put();
|
||||
self.time_axis.point = self.time_axis.point.map(|time|{
|
||||
time + self.note_len / self.time_axis.scale
|
||||
});
|
||||
self.time_axis.point = self.time_axis.point.map(|time|{time + self.note_len});
|
||||
},
|
||||
key!(KeyCode::Char('s')) => if self.entered {
|
||||
self.put();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue