Przeglądaj źródła

Fix the initial vertical scale being wrong with non-meter units

master
Fen Dweller 5 lat temu
rodzic
commit
16ef6e71f7
1 zmienionych plików z 2 dodań i 2 usunięć
  1. +2
    -2
      macrovision.js

+ 2
- 2
macrovision.js Wyświetl plik

@@ -2600,8 +2600,6 @@ document.addEventListener("DOMContentLoaded", () => {


document.querySelector("body").appendChild(testCtx.canvas); document.querySelector("body").appendChild(testCtx.canvas);


updateSizes();

world.addEventListener("mousedown", e => deselect(e)); world.addEventListener("mousedown", e => deselect(e));
world.addEventListener("touchstart", e => deselect({ world.addEventListener("touchstart", e => deselect({
which: 1, which: 1,
@@ -3058,6 +3056,8 @@ document.addEventListener("DOMContentLoaded", () => {
checkFitWorld(); checkFitWorld();
}) })


updateWorldHeight();

}); });


function customEntityFromFile(file, x=0.5, y=0.5) { function customEntityFromFile(file, x=0.5, y=0.5) {


Ładowanie…
Anuluj
Zapisz