zsviczian-fix-laserpointer-offset
zsviczian 1 year ago committed by GitHub
parent 16de3d9243
commit fa0e653236
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save