lint
This commit is contained in:
parent
16de3d9243
commit
fa0e653236
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user