|
|
|
@@ -588,7 +588,7 @@ function updateOverlay(points, clicked) { |
|
|
|
overlayCtx.globalCompositeOperation = "source-over"; |
|
|
|
|
|
|
|
if (!paintMode) |
|
|
|
overlayCtx.clearRect(0, 0, w, h); |
|
|
|
overlayCtx.clearRect(0, 0, w / window.devicePixelRatio, h / window.devicePixelRatio); |
|
|
|
|
|
|
|
if (!paintMode || clicked) { |
|
|
|
points.forEach(point => { |
|
|
|
|