mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-11-15 07:21:50 +08:00
Fix missing original timestamps
This commit is contained in:
parent
122d3c06c8
commit
d4f242a236
@ -149,6 +149,7 @@
|
||||
for(var measureMs = ms - msPerMeasure; measureMs > 0; measureMs -= msPerMeasure){
|
||||
this.measures.push({
|
||||
ms: measureMs,
|
||||
originalMS: ms,
|
||||
speed: speed
|
||||
})
|
||||
}
|
||||
@ -167,6 +168,7 @@
|
||||
note.start = ms
|
||||
if(note.endDrumroll){
|
||||
note.endDrumroll.endTime = ms
|
||||
note.endDrumroll.originalEndTime = ms
|
||||
}
|
||||
var msPerMeasure = 60000 * measure / note.bpm
|
||||
ms += msPerMeasure / currentMeasure.length
|
||||
@ -345,6 +347,7 @@
|
||||
pushMeasure()
|
||||
if(lastDrumroll){
|
||||
lastDrumroll.endTime = ms
|
||||
lastDrumroll.originalEndTime = ms
|
||||
}
|
||||
|
||||
return circles
|
||||
|
Loading…
Reference in New Issue
Block a user