mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-23 19:43:13 -04:00
Resolved #11544 - Remove 'color civ areas on max zoomout' due to conflict with aircraft
This commit is contained in:
parent
2136c5f555
commit
8af45f774b
@ -906,21 +906,6 @@ class WorldMapHolder(
|
||||
|
||||
override fun zoom(zoomScale: Float) {
|
||||
super.zoom(zoomScale)
|
||||
|
||||
if (scaleX == minZoom)
|
||||
for (tileGroup in tileGroups.values){
|
||||
val tile = tileGroup.tile
|
||||
if (!worldScreen.selectedCiv.hasExplored(tile)) continue
|
||||
val owner = tile.getOwner()
|
||||
if (owner != null){
|
||||
val color = if (tile.isCityCenter()) owner.nation.getInnerColor() else owner.nation.getOuterColor()
|
||||
tileGroup.layerMisc.overlayTerrain(color, 0.7f)
|
||||
}
|
||||
}
|
||||
else
|
||||
for (tileGroup in tileGroups.values)
|
||||
tileGroup.layerMisc.hideTerrainOverlay()
|
||||
|
||||
clampCityButtonSize()
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user