소스 검색

一行谱动画

黄琪勇 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)
 			}
 		
 		};