City buttons stay the correct size upon "Next turn"

This commit is contained in:
Yair Morgenstern 2019-12-01 21:47:40 +02:00
parent 6124fd5271
commit fa0d650362

View file

@ -263,6 +263,7 @@ class TileMapHolder(internal val worldScreen: WorldScreen, internal val tileMap:
}
tileGroups[selectedTile]?.showCircle(Color.WHITE)
zoom(scaleX) // zoom to current scale, to set the size of the city buttons after "next turn"
}
private fun updateTilegroupsForSelectedUnit(unit: MapUnit, playerViewableTilePositions: HashSet<Vector2>) {