exit dos mode

This commit is contained in:
🪞👃🪞 2024-06-30 02:03:37 +03:00
parent 3ba5e253b0
commit 625956766e
4 changed files with 9 additions and 13 deletions

View file

@ -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),