From 63b8ba2e615c9a9190076f3be4b8f50f5454254c Mon Sep 17 00:00:00 2001 From: apk Date: Wed, 10 Mar 2021 17:29:46 -0500 Subject: [PATCH] NotificationsScroll: Made notifications dark blue with white text. --- core/src/com/unciv/ui/worldscreen/NotificationsScroll.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/src/com/unciv/ui/worldscreen/NotificationsScroll.kt b/core/src/com/unciv/ui/worldscreen/NotificationsScroll.kt index 0b963b1dab..0b80e323ef 100644 --- a/core/src/com/unciv/ui/worldscreen/NotificationsScroll.kt +++ b/core/src/com/unciv/ui/worldscreen/NotificationsScroll.kt @@ -30,12 +30,14 @@ class NotificationsScroll(internal val worldScreen: WorldScreen) : ScrollPane(nu notificationsTable.clearChildren() for (notification in notifications.toList().reversed()) { // toList to avoid concurrency problems - val label = notification.text.toLabel(Color.BLACK,30) + val label = notification.text.toLabel(Color.WHITE,30) val listItem = Table() listItem.add(ImageGetter.getCircle() .apply { color=notification.color }).size(20f).padRight(5f) - listItem.background = ImageGetter.getRoundedEdgeTableBackground().apply { setScale(0.5f) } + listItem.background = ImageGetter + .getRoundedEdgeTableBackground(ImageGetter.getBlue().lerp(Color.BLACK, 0.5f)) + .apply { setScale(0.5f) } listItem.add(label) // using a large click area with no gap in between each message item.