Explorar o código

feat: 节拍指针位置修改

TIANYONG hai 8 meses
pai
achega
6ce6c29250
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/helpers/metronome.ts

+ 1 - 1
src/helpers/metronome.ts

@@ -434,7 +434,7 @@ class Metronome {
 					if (j == 0) {
 						currentIdx = 0
 					} else {
-						beatNum += Number(measure.CompoundTempo.split('+')[j]);
+						beatNum += CompoundTempoArr[j];
 						currentIdx = beatNum
 					}
 					if (measure.stepList[currentIdx]) {