Browse Source

feat: 节拍指针位置修改

TIANYONG 8 tháng trước cách đây
mục cha
commit
6ce6c29250
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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]) {