From 16ef6e71f7f7c98155844f2e8a6b311d1b5d3827 Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Mon, 22 Mar 2021 19:54:47 -0400 Subject: [PATCH] Fix the initial vertical scale being wrong with non-meter units --- macrovision.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/macrovision.js b/macrovision.js index 7eea5c72..75d16d3d 100644 --- a/macrovision.js +++ b/macrovision.js @@ -2600,8 +2600,6 @@ document.addEventListener("DOMContentLoaded", () => { document.querySelector("body").appendChild(testCtx.canvas); - updateSizes(); - world.addEventListener("mousedown", e => deselect(e)); world.addEventListener("touchstart", e => deselect({ which: 1, @@ -3058,6 +3056,8 @@ document.addEventListener("DOMContentLoaded", () => { checkFitWorld(); }) + updateWorldHeight(); + }); function customEntityFromFile(file, x=0.5, y=0.5) {