diff --git a/js/CanvasRenderer.js b/js/CanvasRenderer.js index 1bebc6f..38938e4 100644 --- a/js/CanvasRenderer.js +++ b/js/CanvasRenderer.js @@ -652,8 +652,8 @@ export class CanvasRenderer { this.updateStrokeOverlaySize(); // Position above main canvas but below cursor overlay this.strokeOverlayCanvas.style.position = 'absolute'; - this.strokeOverlayCanvas.style.left = '0px'; - this.strokeOverlayCanvas.style.top = '0px'; + this.strokeOverlayCanvas.style.left = '1px'; + this.strokeOverlayCanvas.style.top = '1px'; this.strokeOverlayCanvas.style.pointerEvents = 'none'; this.strokeOverlayCanvas.style.zIndex = '19'; // Below cursor overlay (20) // Opacity is now controlled by MaskTool.previewOpacity diff --git a/src/CanvasRenderer.ts b/src/CanvasRenderer.ts index 59b2af2..0c6a368 100644 --- a/src/CanvasRenderer.ts +++ b/src/CanvasRenderer.ts @@ -796,8 +796,8 @@ export class CanvasRenderer { // Position above main canvas but below cursor overlay this.strokeOverlayCanvas.style.position = 'absolute'; - this.strokeOverlayCanvas.style.left = '0px'; - this.strokeOverlayCanvas.style.top = '0px'; + this.strokeOverlayCanvas.style.left = '1px'; + this.strokeOverlayCanvas.style.top = '1px'; this.strokeOverlayCanvas.style.pointerEvents = 'none'; this.strokeOverlayCanvas.style.zIndex = '19'; // Below cursor overlay (20) // Opacity is now controlled by MaskTool.previewOpacity