@@ -197,7 +197,7 @@ class Metronome {
break;
}
- if (index > -1 && metronomeData.activeIndex !== index) {
+ if (index > -1 && (metronomeData.activeIndex !== index || (metronomeData.activeIndex === 0 && index === 0) ) ) {
metronomeData.activeIndex = index;
// console.log("节拍器播放", '节拍器索引:',metronomeData.activeIndex, '节拍器时间:',currentTime, '实际时间:',originTime,'xml计算的时间:',metronomeData.metroList[metronomeData.activeIndex]);
metronomeData.activeMetro = this.getStep(activeMetro);