From ddc800f0bbbaa989fbe7d69b817e75b69969466c Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Wed, 5 May 2021 12:34:49 -0400 Subject: [PATCH] Fix the background being too small during export when zoomed out --- macrovision.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macrovision.js b/macrovision.js index 4dde8b04..ea4a0648 100644 --- a/macrovision.js +++ b/macrovision.js @@ -663,7 +663,7 @@ function drawScales(ifDirty = false) { ctx.scale(deviceScale, deviceScale); ctx.beginPath(); - ctx.rect(0, 0, canvas.width, canvas.height); + ctx.rect(0, 0, ctx.canvas.width / deviceScale, ctx.canvas.height / deviceScale); ctx.fillStyle = "#333"; ctx.fill();