mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-29 15:01:09 -04:00
City buttons stay the correct size upon "Next turn"
This commit is contained in:
parent
6124fd5271
commit
fa0d650362
@ -263,6 +263,7 @@ class TileMapHolder(internal val worldScreen: WorldScreen, internal val tileMap:
|
|||||||
}
|
}
|
||||||
|
|
||||||
tileGroups[selectedTile]?.showCircle(Color.WHITE)
|
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>) {
|
private fun updateTilegroupsForSelectedUnit(unit: MapUnit, playerViewableTilePositions: HashSet<Vector2>) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user