diff --git a/viewer/components/refresh.ts b/viewer/components/refresh.ts index 2a4826efa..f98be298a 100644 --- a/viewer/components/refresh.ts +++ b/viewer/components/refresh.ts @@ -196,6 +196,7 @@ function addMasks() { const img = new Image() img.src = canvas.toDataURL() ?? '' img.style.left = canvas.offsetLeft + 'px' + img.style.top = canvas.offsetTop + 'px' img.style.width = canvas.clientWidth + 'px' img.style.height = canvas.clientHeight + 'px'