Ver Fonte

一行谱动画

黄琪勇 há 8 meses atrás
pai
commit
bc7faeae1f
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/page-instrument/simple-detail/index.tsx

+ 1 - 1
src/page-instrument/simple-detail/index.tsx

@@ -167,7 +167,7 @@ export default defineComponent({
 			state.activeNoteIndex = item?.i || 0
 			// 一行谱,需要滚动小节
 			if (state.isSingleLine) {
-				moveSmoothAnimationByPlayTime(currentTime)
+				moveSmoothAnimationByPlayTime(currentTime, true)
 			}
 		
 		};