mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-25 10:26:05 +07:00
Button for current civilopedia entry is now marked
This commit is contained in:
parent
63e10dde71
commit
b7d07ca2da
@ -45,6 +45,8 @@ class CivilopediaScreen(ruleset: Ruleset) : CameraStageBaseScreen() {
|
||||
entryButton.add(entry.name.toLabel())
|
||||
entryButton.onClick {
|
||||
description.setText(entry.description)
|
||||
entrySelectTable.children.forEach { it.color = Color.WHITE }
|
||||
entryButton.color = Color.BLUE
|
||||
}
|
||||
entrySelectTable.add(entryButton).left().row()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user