diff --git a/src/hooks/usePlaybackWebSocket.ts b/src/hooks/usePlaybackWebSocket.ts index 5139748..a5d4d6e 100644 --- a/src/hooks/usePlaybackWebSocket.ts +++ b/src/hooks/usePlaybackWebSocket.ts @@ -167,10 +167,10 @@ export function usePlaybackWebSocket(editorService: ShallowRef= totalDuration.value && totalDuration.value > 0) { - pause(); - currentTime.value = totalDuration.value; - } + // if (isPlaying.value && currentTime.value >= totalDuration.value && totalDuration.value > 0) { + // pause(); + // currentTime.value = totalDuration.value; + // } editorService.value?.render(); animationFrameId = requestAnimationFrame(renderLoop);