feat: 注释掉播放控制器中的自动暂停逻辑,优化播放时间处理
This commit is contained in:
parent
de58022508
commit
e3f3ab5c2a
@ -167,10 +167,10 @@ export function usePlaybackWebSocket(editorService: ShallowRef<EditorService | u
|
||||
batchUpdateRobots(updates);
|
||||
}
|
||||
|
||||
if (isPlaying.value && currentTime.value >= 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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user