diff --git a/src/App.vue b/src/App.vue index 1376845..76bb080 100644 --- a/src/App.vue +++ b/src/App.vue @@ -2,7 +2,7 @@
- +
diff --git a/src/components/gameMaster/zoneEditor/ZoneEditor.vue b/src/components/gameMaster/zoneEditor/ZoneEditor.vue index c9046d1..8087b30 100644 --- a/src/components/gameMaster/zoneEditor/ZoneEditor.vue +++ b/src/components/gameMaster/zoneEditor/ZoneEditor.vue @@ -81,9 +81,7 @@ function createTileLayer() { } function createTileArray() { - return Array.from({ length: zoneTilemap.value.height || 0 }, () => - Array.from({ length: zoneTilemap.value.width || 0 }, () => 'blank_tile') - ) + return Array.from({ length: zoneTilemap.value.height || 0 }, () => Array.from({ length: zoneTilemap.value.width || 0 }, () => 'blank_tile')) } function getObjectImageProps(object: ZoneObject) { @@ -174,9 +172,7 @@ function paint() { // Ensure tileArray is initialized with correct dimensions if (!tileArray.value || tileArray.value.length !== zoneTilemap.value.height) { - tileArray.value = Array.from({ length: zoneTilemap.value.height }, () => - Array.from({ length: zoneTilemap.value.width }, () => 'blank_tile') - ) + tileArray.value = Array.from({ length: zoneTilemap.value.height }, () => Array.from({ length: zoneTilemap.value.width }, () => 'blank_tile')) } // Set all tiles in the tilemap to the selected tile's id diff --git a/src/components/sprites/Character.vue b/src/components/sprites/Character.vue index 7094a5e..7c5092f 100644 --- a/src/components/sprites/Character.vue +++ b/src/components/sprites/Character.vue @@ -1,8 +1,8 @@ - +