Explorar o código

一行谱 播放过程中,不执行点击动画

黄琪勇 hai 3 días
pai
achega
ecf070b337
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/state.ts

+ 1 - 1
src/state.ts

@@ -1059,7 +1059,7 @@ export const gotoNext = (note: any, skipNote?: boolean) => {
   // }
   fillWordColor();
   // 一行谱,需要滚动小节
-  if (state.isSingleLine) {
+  if (state.isSingleLine && state.playState === "paused") {
     moveSvgDom(skipNote);
   }
   scrollViewNote();