|
@@ -160,13 +160,13 @@ export const getGradualLengthByXml = (xml: string) => {
|
|
|
|
|
|
eles.push({
|
|
|
ele: notes[notes.length - 1],
|
|
|
- index: notes.length-1,
|
|
|
+ index: notes.length,
|
|
|
noteInMeasureIndex: 0,
|
|
|
textContent: "",
|
|
|
type: "metronome",
|
|
|
allDuration: 1,
|
|
|
leftDuration: 0,
|
|
|
- measureIndex: measures.length-1,
|
|
|
+ measureIndex: measures.length,
|
|
|
});
|
|
|
|
|
|
const gradualNotes: GradualNote[] = [];
|