|
@@ -183,7 +183,10 @@ const clearRightNoteColor = () => {
|
|
|
*/
|
|
|
const autoEndFollow = () => {
|
|
|
if (followData.index >= state.times.length) {
|
|
|
- handleFollowEnd()
|
|
|
+ setTimeout(() => {
|
|
|
+ handleFollowEnd()
|
|
|
+ }, 1500);
|
|
|
+
|
|
|
return
|
|
|
}
|
|
|
let nextIndex = followData.index + 1;
|
|
@@ -191,7 +194,9 @@ const autoEndFollow = () => {
|
|
|
// 后面的音符是否都是休止音符
|
|
|
const isAllRest = !rightTimes.some((item: any) => item.frequency > 1);
|
|
|
if (isAllRest && state.times[followData.index].frequency < 1) {
|
|
|
- handleFollowEnd()
|
|
|
+ setTimeout(() => {
|
|
|
+ handleFollowEnd()
|
|
|
+ }, 1500);
|
|
|
return
|
|
|
}
|
|
|
clearRightNoteColor();
|