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){
|
for(var measureMs = ms - msPerMeasure; measureMs > 0; measureMs -= msPerMeasure){
|
||||||
this.measures.push({
|
this.measures.push({
|
||||||
ms: measureMs,
|
ms: measureMs,
|
||||||
|
originalMS: ms,
|
||||||
speed: speed
|
speed: speed
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@ -167,6 +168,7 @@
|
|||||||
note.start = ms
|
note.start = ms
|
||||||
if(note.endDrumroll){
|
if(note.endDrumroll){
|
||||||
note.endDrumroll.endTime = ms
|
note.endDrumroll.endTime = ms
|
||||||
|
note.endDrumroll.originalEndTime = ms
|
||||||
}
|
}
|
||||||
var msPerMeasure = 60000 * measure / note.bpm
|
var msPerMeasure = 60000 * measure / note.bpm
|
||||||
ms += msPerMeasure / currentMeasure.length
|
ms += msPerMeasure / currentMeasure.length
|
||||||
@ -345,6 +347,7 @@
|
|||||||
pushMeasure()
|
pushMeasure()
|
||||||
if(lastDrumroll){
|
if(lastDrumroll){
|
||||||
lastDrumroll.endTime = ms
|
lastDrumroll.endTime = ms
|
||||||
|
lastDrumroll.originalEndTime = ms
|
||||||
}
|
}
|
||||||
|
|
||||||
return circles
|
return circles
|
||||||
|
Loading…
Reference in New Issue
Block a user