修改光照进度条拖动bug

This commit is contained in:
2025-08-04 10:19:34 +08:00
parent 603421ea87
commit 01d82c16c9
2 changed files with 17 additions and 1 deletions

View File

@ -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();
});