mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-11-21 05:04:29 +01:00
lint
This commit is contained in:
@@ -112,7 +112,7 @@ export class LaserPathManager {
|
|||||||
const { x, y } = this.container.getBoundingClientRect();
|
const { x, y } = this.container.getBoundingClientRect();
|
||||||
this.container.style.top = `${-y}px`;
|
this.container.style.top = `${-y}px`;
|
||||||
this.container.style.left = `${-x}px`;
|
this.container.style.left = `${-x}px`;
|
||||||
}
|
}
|
||||||
this.ownState.currentPath = instantiatePath();
|
this.ownState.currentPath = instantiatePath();
|
||||||
this.ownState.currentPath.addPoint([x, y, performance.now()]);
|
this.ownState.currentPath.addPoint([x, y, performance.now()]);
|
||||||
this.updatePath(this.ownState);
|
this.updatePath(this.ownState);
|
||||||
|
|||||||
Reference in New Issue
Block a user