better preview

This commit is contained in:
Max Bradbury 2020-07-20 17:35:02 +01:00
parent 7155f9c33d
commit caa4e00948
1 changed files with 2 additions and 1 deletions

View File

@ -105,7 +105,7 @@ async function run() {
textareaGameDataInput.addEventListener("change", checkGameData);
textareaGameDataInput.addEventListener("keyup", checkGameData);
checkGameData();
imagePreview.style.display = "none";
el('image').addEventListener('change', function () {
@ -123,6 +123,7 @@ async function run() {
}
}
inputPrefix.addEventListener("keyup", handleTilePrefix);
inputPrefix.addEventListener("change", handleTilePrefix);
handleTilePrefix();