mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-11 03:18:18 +07:00
Added color to map buttons in map loading screen
This commit is contained in:
parent
be7fd4cb01
commit
29360938c6
@ -94,6 +94,8 @@ class LoadMapScreen(previousMap: TileMap?) : PickerScreen() {
|
||||
for (map in MapSaver.getMaps()) {
|
||||
val loadMapButton = TextButton(map.name(), skin)
|
||||
loadMapButton.onClick {
|
||||
for (cell in mapsTable.cells) cell.actor.color = Color.WHITE
|
||||
loadMapButton.color = Color.BLUE
|
||||
rightSideButton.enable()
|
||||
chosenMap = map
|
||||
deleteButton.enable()
|
||||
|
Loading…
Reference in New Issue
Block a user