Explorar el Código

Fix the overlay not getting cleared properly when zoomed out

master
Fen Dweller hace 5 años
padre
commit
5ca5257cc5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      xray.js

+ 1
- 1
xray.js Ver fichero

@@ -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 => {


Cargando…
Cancelar
Guardar