Merge branch 'develop' of http://xny.yj-3d.com:3000/zh/sdk4.0
This commit is contained in:
@ -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) {
|
||||||
|
Reference in New Issue
Block a user