and so is the note grid but with bad key binding. idk what is happening.

This commit is contained in:
🪞👃🪞 2024-12-16 20:44:55 +01:00
parent ab2b7199a8
commit 3c32b0fef4

View file

@ -170,8 +170,8 @@ render!(|self: PianoHorizontalNotes<'a>|render(|to|Ok({
to.blit(&format!("y0={y0}"), x0, y0+2, None);
to.blit(&format!("note_lo={note_hi}"), x0, y0+3, None);
to.blit(&format!("time_start={time_start}"), x0, y0+4, None);
return Ok(());
}
return Ok(());
for (x, target_x) in (x0..x0+w).enumerate() {
for (y, target_y) in (y0..y0+h).enumerate() {
if y > note_hi {