|
@@ -664,6 +664,9 @@ export const resetPlaybackToStart = () => {
|
|
if (state.sectionStatus && state.section.length === 2) {
|
|
if (state.sectionStatus && state.section.length === 2) {
|
|
state.section = formateSelectMearure(state.section);
|
|
state.section = formateSelectMearure(state.section);
|
|
return;
|
|
return;
|
|
|
|
+ } else {
|
|
|
|
+ // 非选段状态,重播需要重置当前选中的小节为第一个小节
|
|
|
|
+ metronomeData.activeMetro = metronomeData.metroMeasure[0]?.[0] || {};
|
|
}
|
|
}
|
|
skipNotePlay(0, true);
|
|
skipNotePlay(0, true);
|
|
};
|
|
};
|