let mouse tail duration respect timer speed

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent e6bb01c328
commit d79ad0b8c3

View File

@@ -1328,7 +1328,7 @@ export class Replayer {
setTimeout(() => {
this.tailPositions = this.tailPositions.filter((p) => p !== position);
draw();
}, duration);
}, duration / this.speedService.state.context.timer.speed);
}
private hoverElements(el: Element) {