diff --git a/src/components/gameMaster/zoneEditor/ZoneEditor.vue b/src/components/gameMaster/zoneEditor/ZoneEditor.vue index cd529e9..7036d7d 100644 --- a/src/components/gameMaster/zoneEditor/ZoneEditor.vue +++ b/src/components/gameMaster/zoneEditor/ZoneEditor.vue @@ -81,7 +81,7 @@ function createTileLayer() { const layer = zoneTilemap.value.createBlankLayer('tiles', tilesetImages as any, 0, config.tile_size.y) as Phaser.Tilemaps.TilemapLayer layer.setDepth(0) - layer.setCullPadding(2, 2) + layer.setCullPadding(0.5, 0.5) return layer } diff --git a/src/components/zone/Tiles.vue b/src/components/zone/Tiles.vue index d999795..0cf9935 100644 --- a/src/components/zone/Tiles.vue +++ b/src/components/zone/Tiles.vue @@ -52,7 +52,7 @@ function createTileLayer() { const layer = zoneTilemap.value.createBlankLayer('tiles', tilesetImages, 0, config.tile_size.y) as Phaser.Tilemaps.TilemapLayer layer.setDepth(0) - layer.setCullPadding(2, 2) + layer.setCullPadding(0.5, 0.5) return layer }