mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-08 23:08:35 +07:00
Notifications not scrollable far enough after in-turn notifications got added (#6796)
This commit is contained in:
@ -1261,7 +1261,7 @@ Base unit buy cost: [amount]¤ =
|
|||||||
Research agreement cost: [amount]¤ =
|
Research agreement cost: [amount]¤ =
|
||||||
|
|
||||||
|
|
||||||
S# Policies
|
# Policies
|
||||||
|
|
||||||
Adopt policy =
|
Adopt policy =
|
||||||
Adopt free policy =
|
Adopt free policy =
|
||||||
|
@ -52,6 +52,8 @@ class NotificationsScroll(
|
|||||||
notificationsHash = notifications.hashCode()
|
notificationsHash = notifications.hashCode()
|
||||||
|
|
||||||
notificationsTable.clearChildren()
|
notificationsTable.clearChildren()
|
||||||
|
endOfTableSpacerCell = null
|
||||||
|
|
||||||
for (notification in notifications.asReversed().toList()) { // toList to avoid concurrency problems
|
for (notification in notifications.asReversed().toList()) { // toList to avoid concurrency problems
|
||||||
val listItem = Table()
|
val listItem = Table()
|
||||||
listItem.background = ImageGetter.getRoundedEdgeRectangle()
|
listItem.background = ImageGetter.getRoundedEdgeRectangle()
|
||||||
|
Reference in New Issue
Block a user