mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-04 15:27:50 +07:00
update score icon. (#8118)
This commit is contained in:
@ -176,7 +176,7 @@ class StatsOverviewTab(
|
||||
private fun updateScoreTable() = scoreTable.apply {
|
||||
clear()
|
||||
val scoreHeader = Table()
|
||||
val scoreIcon = ImageGetter.getImage("OtherIcons/Cultured")
|
||||
val scoreIcon = ImageGetter.getImage("CityStateIcons/Cultured")
|
||||
scoreIcon.color = Color.FIREBRICK
|
||||
scoreHeader.add(scoreIcon).padRight(1f).size(Constants.headingFontSize.toFloat())
|
||||
scoreHeader.add("Score".toLabel(fontSize = Constants.headingFontSize))
|
||||
|
@ -6,7 +6,7 @@ import com.unciv.ui.images.ImageGetter
|
||||
|
||||
enum class RankingType(val getImage: ()->Image?) {
|
||||
// production, gold, happiness, and culture already have icons added when the line is `tr()`anslated
|
||||
Score({ ImageGetter.getImage("OtherIcons/Cultured").apply { color = Color.FIREBRICK } }),
|
||||
Score({ ImageGetter.getImage("CityStateIcons/Cultured").apply { color = Color.FIREBRICK } }),
|
||||
Population({ ImageGetter.getStatIcon("Population") }),
|
||||
Crop_Yield({ ImageGetter.getStatIcon("Food") }),
|
||||
Production({ null }),
|
||||
|
Reference in New Issue
Block a user