mirror of
https://github.com/dredozubov/polyrhythmix.git
synced 2024-11-25 05:17:42 +00:00
Fix tests
This commit is contained in:
parent
9ffa47977e
commit
b89debcbd7
1 changed files with 2 additions and 2 deletions
|
@ -439,12 +439,12 @@ fn group_to_event_grid(
|
||||||
// grid.length = grid.length + eg.length;
|
// grid.length = grid.length + eg.length;
|
||||||
// time = time + grid.length;
|
// time = time + grid.length;
|
||||||
// }
|
// }
|
||||||
Rest => {
|
Note::Rest => {
|
||||||
let rest_end = time + note_length;
|
let rest_end = time + note_length;
|
||||||
time = rest_end;
|
time = rest_end;
|
||||||
grid.length = rest_end;
|
grid.length = rest_end;
|
||||||
}
|
}
|
||||||
Hit => {
|
Note::Hit => {
|
||||||
let note_end = time + note_length;
|
let note_end = time + note_length;
|
||||||
let note_on = Event {
|
let note_on = Event {
|
||||||
tick: time,
|
tick: time,
|
||||||
|
|
Loading…
Reference in a new issue