mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-21 13:18:56 +07:00
small minimap fix
This commit is contained in:
@ -480,7 +480,7 @@ class CityStats {
|
|||||||
|
|
||||||
if (cityInfo.cityConstructions.currentConstructionFromQueue == Constants.settler && totalFood > 0) {
|
if (cityInfo.cityConstructions.currentConstructionFromQueue == Constants.settler && totalFood > 0) {
|
||||||
newFinalStatList["Excess food to production"] =
|
newFinalStatList["Excess food to production"] =
|
||||||
Stats().apply { production=totalFood; food=-totalFood }
|
Stats().apply { production = totalFood; food = -totalFood }
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cityInfo.isInResistance())
|
if (cityInfo.isInResistance())
|
||||||
|
@ -135,8 +135,8 @@ class MinimapHolder(mapHolder: WorldMapHolder): Table(){
|
|||||||
}
|
}
|
||||||
toggleIconTable.add(populationImage).row()
|
toggleIconTable.add(populationImage).row()
|
||||||
|
|
||||||
val resourceImage = ImageGetter.getImage("ResourceImages/Cattle").surroundWithCircle(40f)
|
val resourceImage = ImageGetter.getImage("ResourceIcons/Cattle").surroundWithCircle(40f)
|
||||||
resourceImage.circle.color = Color.BLACK
|
// resourceImage.circle.color = Color.BLACK
|
||||||
resourceImage.actor.color.a = if(settings.showResourcesAndImprovements) 1f else 0.5f
|
resourceImage.actor.color.a = if(settings.showResourcesAndImprovements) 1f else 0.5f
|
||||||
resourceImage.onClick {
|
resourceImage.onClick {
|
||||||
settings.showResourcesAndImprovements = !settings.showResourcesAndImprovements
|
settings.showResourcesAndImprovements = !settings.showResourcesAndImprovements
|
||||||
|
Reference in New Issue
Block a user