diff --git a/src/main.js b/src/main.js index 828a972..96a717d 100644 --- a/src/main.js +++ b/src/main.js @@ -2712,7 +2712,8 @@ function updateLayout(element) { function updateUI() { for (let canvas of canvases) { let ctx = canvas.getContext("2d") - ctx.reset(); + ctx.resetTransform(); + ctx.beginPath() ctx.fillStyle = "white" ctx.fillRect(0,0,canvas.width,canvas.height)