diff --git a/src/components/LaserTool/LaserPathManager.ts b/src/components/LaserTool/LaserPathManager.ts index c76363daa..2ca7eb66f 100644 --- a/src/components/LaserTool/LaserPathManager.ts +++ b/src/components/LaserTool/LaserPathManager.ts @@ -112,7 +112,7 @@ export class LaserPathManager { const { x, y } = this.container.getBoundingClientRect(); this.container.style.top = `${-y}px`; this.container.style.left = `${-x}px`; - } + } this.ownState.currentPath = instantiatePath(); this.ownState.currentPath.addPoint([x, y, performance.now()]); this.updatePath(this.ownState);