Преглед изворни кода

Fix the overlay not getting cleared properly when zoomed out

master
Fen Dweller пре 5 година
родитељ
комит
5ca5257cc5
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      xray.js

+ 1
- 1
xray.js Прегледај датотеку

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


Loading…
Откажи
Сачувај