From 29360938c64149ea0c7f375da6ea0029e3009061 Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Sun, 28 Feb 2021 23:33:55 +0200 Subject: [PATCH] Added color to map buttons in map loading screen --- core/src/com/unciv/ui/mapeditor/LoadMapScreen.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/com/unciv/ui/mapeditor/LoadMapScreen.kt b/core/src/com/unciv/ui/mapeditor/LoadMapScreen.kt index e5b99dc8a5..f01442637b 100644 --- a/core/src/com/unciv/ui/mapeditor/LoadMapScreen.kt +++ b/core/src/com/unciv/ui/mapeditor/LoadMapScreen.kt @@ -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()