Explorar o código

Revert "Update beat-tick.ts"

This reverts commit 430a142ff83abe8ae60d43fb10c943ec6a03f593.
lex hai 1 ano
pai
achega
93be7a9876
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/tempo-practice/beat-tick.ts

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

@@ -85,7 +85,7 @@ export const handleStartBeat = async () => {
       const part = setting.scorePart[i][j];
       const params = {
         ...part,
-        ...beatDesc[part.index + 1]
+        ...beatDesc[part.index - 1]
       };
       // console.log(params);
       const single16th = beatData.beatLengthInMilliseconds;