|
|
|
@@ -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) { |
|
|
|
|