瀏覽代碼

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

master
Fen Dweller 5 年之前
父節點
當前提交
16ef6e71f7
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      macrovision.js

+ 2
- 2
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) {


Loading…
取消
儲存