Fix tests

This commit is contained in:
Denis Redozubov 2023-06-15 20:28:13 +04:00
parent 9ffa47977e
commit b89debcbd7
1 changed files with 2 additions and 2 deletions

View File

@ -439,12 +439,12 @@ fn group_to_event_grid(
// grid.length = grid.length + eg.length;
// time = time + grid.length;
// }
Rest => {
Note::Rest => {
let rest_end = time + note_length;
time = rest_end;
grid.length = rest_end;
}
Hit => {
Note::Hit => {
let note_end = time + note_length;
let note_on = Event {
tick: time,