From c751d5a67012f9e07b8714f4f450b19c4dac70f9 Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Thu, 24 Oct 2019 22:42:37 +0300 Subject: [PATCH] Resolved #1233 - notifications show up on "next turn" without needing to click anywhere --- core/src/com/unciv/ui/worldscreen/WorldScreen.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/com/unciv/ui/worldscreen/WorldScreen.kt b/core/src/com/unciv/ui/worldscreen/WorldScreen.kt index b5ac59e72f..6087a266ed 100644 --- a/core/src/com/unciv/ui/worldscreen/WorldScreen.kt +++ b/core/src/com/unciv/ui/worldscreen/WorldScreen.kt @@ -182,6 +182,7 @@ class WorldScreen(val viewingCiv:CivilizationInfo) : CameraStageBaseScreen() { techPolicyandVictoryHolder.setPosition(10f, topBar.y - techPolicyandVictoryHolder.height - 5f) updateDiplomacyButton(viewingCiv) + updateNextTurnButton() // This must be before the notifications update, since its position is based on it notificationsScroll.update(viewingCiv.notifications) notificationsScroll.setPosition(stage.width - notificationsScroll.width - 5f, nextTurnButton.y - notificationsScroll.height - 5f) @@ -197,7 +198,6 @@ class WorldScreen(val viewingCiv:CivilizationInfo) : CameraStageBaseScreen() { viewingCiv.tradeRequests.isNotEmpty() -> TradePopup(this) } } - updateNextTurnButton() } private fun displayTutorialsOnUpdate() {