mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-22 13:49:54 +07:00
Resolved #1233 - notifications show up on "next turn" without needing to click anywhere
This commit is contained in:
@ -182,6 +182,7 @@ class WorldScreen(val viewingCiv:CivilizationInfo) : CameraStageBaseScreen() {
|
|||||||
techPolicyandVictoryHolder.setPosition(10f, topBar.y - techPolicyandVictoryHolder.height - 5f)
|
techPolicyandVictoryHolder.setPosition(10f, topBar.y - techPolicyandVictoryHolder.height - 5f)
|
||||||
updateDiplomacyButton(viewingCiv)
|
updateDiplomacyButton(viewingCiv)
|
||||||
|
|
||||||
|
updateNextTurnButton() // This must be before the notifications update, since its position is based on it
|
||||||
notificationsScroll.update(viewingCiv.notifications)
|
notificationsScroll.update(viewingCiv.notifications)
|
||||||
notificationsScroll.setPosition(stage.width - notificationsScroll.width - 5f,
|
notificationsScroll.setPosition(stage.width - notificationsScroll.width - 5f,
|
||||||
nextTurnButton.y - notificationsScroll.height - 5f)
|
nextTurnButton.y - notificationsScroll.height - 5f)
|
||||||
@ -197,7 +198,6 @@ class WorldScreen(val viewingCiv:CivilizationInfo) : CameraStageBaseScreen() {
|
|||||||
viewingCiv.tradeRequests.isNotEmpty() -> TradePopup(this)
|
viewingCiv.tradeRequests.isNotEmpty() -> TradePopup(this)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
updateNextTurnButton()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun displayTutorialsOnUpdate() {
|
private fun displayTutorialsOnUpdate() {
|
||||||
|
Reference in New Issue
Block a user