diff --git a/macrovision.js b/macrovision.js index 88816901..745ea5c5 100644 --- a/macrovision.js +++ b/macrovision.js @@ -206,7 +206,7 @@ function drawScale() { let pixelsPer = (ctx.canvas.clientHeight - 100) / config.height.value; let heightPer = config.height.clone(); - heightPer = math.divide(heightPer, heightPer.toNumber()) + heightPer.value = 1; if (pixelsPer < config.minLineSize) { heightPer.value /= pixelsPer / config.minLineSize;