浏览代码

一行谱动画

黄琪勇 8 月之前
父节点
当前提交
bc7faeae1f
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)
 			}
 		
 		};