mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 12:16:42 +01:00
and so is the note grid but with bad key binding. idk what is happening.
This commit is contained in:
parent
ab2b7199a8
commit
3c32b0fef4
1 changed files with 1 additions and 1 deletions
|
|
@ -170,8 +170,8 @@ render!(|self: PianoHorizontalNotes<'a>|render(|to|Ok({
|
||||||
to.blit(&format!("y0={y0}"), x0, y0+2, None);
|
to.blit(&format!("y0={y0}"), x0, y0+2, None);
|
||||||
to.blit(&format!("note_lo={note_hi}"), x0, y0+3, None);
|
to.blit(&format!("note_lo={note_hi}"), x0, y0+3, None);
|
||||||
to.blit(&format!("time_start={time_start}"), x0, y0+4, 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 (x, target_x) in (x0..x0+w).enumerate() {
|
||||||
for (y, target_y) in (y0..y0+h).enumerate() {
|
for (y, target_y) in (y0..y0+h).enumerate() {
|
||||||
if y > note_hi {
|
if y > note_hi {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue