Fixes for background tile widget

This commit is contained in:
Mal
2025-05-17 00:56:06 +02:00
parent fc990c12aa
commit 8d4bcf7c31
3 changed files with 6 additions and 2 deletions

View File

@@ -141,6 +141,7 @@ export default class Tilorswift
} else {
document.body.style.backgroundImage = 'none';
}
this.map.innerHTML = '';
this.map.appendChild(this.level.terrain.getElement());
this.tilesetPicker.reloadTileset(this.tileset);