mirror of
https://github.com/excalidraw/excalidraw
synced 2025-07-25 13:58:22 +08:00
* Fix laser pointer trail disappearing on pointerup (#9413) Previously, the laser pointer trail would disappear as soon as the pointerup event was triggered. This fix delays the trail removal to ensure it persists for a smoother visual experience. Fixes #9413. * Remove extra blank lines Minor formatting cleanup. No functional changes.
This commit is contained in:

committed by
GitHub

parent
1913599594
commit
a18b139a60
@ -129,7 +129,6 @@ export class AnimatedTrail implements Trail {
|
||||
}
|
||||
|
||||
private update() {
|
||||
this.pastTrails = [];
|
||||
this.start();
|
||||
if (this.trailAnimation) {
|
||||
this.trailAnimation.setAttribute("begin", "indefinite");
|
||||
|
Reference in New Issue
Block a user