Explorar o código

一行谱动画

黄琪勇 hai 8 meses
pai
achega
bc7faeae1f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)
 			}
 		
 		};