zsviczian преди 1 година
родител
ревизия
fa0e653236
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/components/LaserTool/LaserPathManager.ts

+ 1 - 1
src/components/LaserTool/LaserPathManager.ts

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