Browse Source

Merge branch 'iteration-beat-one'

lex 1 year ago
parent
commit
93d2e4e4af
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/tempo-practice/beat-tick.ts

+ 1 - 1
src/views/tempo-practice/beat-tick.ts

@@ -79,7 +79,7 @@ export const handleStartBeat = async () => {
   let startTime = +new Date();
   for (let i = 0; i < setting.scorePart.length; i++) {
     if (beatData.tickEnd) return false;
-    for (let j = 0; j < beatData.len; j++) {
+    for (let j = 0; j < setting.scorePart[i].length; j++) {
       if (beatData.tickEnd) return false;
       // 提前结束, 直接放回false
       const part = setting.scorePart[i][j];