This commit is contained in:
zh
2025-08-08 10:44:39 +08:00

View File

@ -82,7 +82,9 @@ export default class TimeLine {
} }
moveComplay(func) { moveComplay(func) {
let that = this let that = this
that.timeline.addEventListener('mouseup', () => { // that.timeline.addEventListener('mouseup', () => {
document.addEventListener('mouseup', () => {
if (that.isDragging) {
that.isDragging = false; that.isDragging = false;
if (that.manualPosition !== null) { if (that.manualPosition !== null) {
// that.sdk.viewer.clock.shouldAnimate = true // that.sdk.viewer.clock.shouldAnimate = true
@ -98,6 +100,7 @@ export default class TimeLine {
} }
} }
}
}); });
} }
formatTime(seconds) { formatTime(seconds) {