mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 12:16:42 +01:00
exit dos mode
This commit is contained in:
parent
3ba5e253b0
commit
625956766e
4 changed files with 9 additions and 13 deletions
|
|
@ -88,7 +88,7 @@ pub fn lanes (
|
|||
format!("{}", step / time_zoom / 4 + 1)
|
||||
.blit(buf, x as u16, y - 1, Some(Style::default().bold().not_dim()));
|
||||
}
|
||||
let h = (note1-note0)/2 - y as u32;
|
||||
let h = ((note1-note0)/2).saturating_sub(y as u32);
|
||||
for k in 0..h {
|
||||
let (character, style) = match (
|
||||
contains_note_on(phrase, u7::from_int_lossy((note0 + k * 2 + 0) as u8), a, b),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue