修改光照进度条拖动bug
This commit is contained in:
@ -33,7 +33,9 @@ export default class TimeLine {
|
||||
that.startTime = Date.now() - ((that.manualPosition || 0) * 86400 * 1000 / that.speed);
|
||||
|
||||
that.timeline.addEventListener('mousedown', (e) => {
|
||||
that.isDragging = true;
|
||||
if (e.srcElement.className === 'handle') {
|
||||
that.isDragging = true;
|
||||
}
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user