Fix tests

This commit is contained in:
Denis Redozubov 2023-06-15 20:28:13 +04:00
parent 9ffa47977e
commit b89debcbd7

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,