diff --git a/core/src/com/unciv/ui/mapeditor/EditorMapHolder.kt b/core/src/com/unciv/ui/mapeditor/EditorMapHolder.kt index da7fe5f674..644c2dd1ba 100644 --- a/core/src/com/unciv/ui/mapeditor/EditorMapHolder.kt +++ b/core/src/com/unciv/ui/mapeditor/EditorMapHolder.kt @@ -31,8 +31,6 @@ class EditorMapHolder( private lateinit var tileGroupMap: TileGroupMap private val allTileGroups = ArrayList() - private val maxWorldZoomOut = UncivGame.Current.settings.maxWorldZoomOut - private var blinkAction: Action? = null private var savedCaptureListeners = emptyList() @@ -91,9 +89,7 @@ class EditorMapHolder( tileGroup.onClick { onTileClick(tileGroup.tileInfo) } } - setSize(stage.width * maxWorldZoomOut, stage.height * maxWorldZoomOut) - setOrigin(width / 2,height / 2) - center(stage) + setSize(stage.width, stage.height) layout()