Ensure buttons on summary screen are always on top

On low vertical resolutions when playing games with 8 players in 4
different teams, the summary will overflow the available vertical space.
This commit ensures that in such a case the buttons below the summary
are still clickable by ensuring they stay always on top of the summary.
This commit is contained in:
Dunedan
2025-01-19 13:43:55 +01:00
parent 8b40ce59ad
commit 4d19935f48
@@ -175,6 +175,7 @@
sprite="iconBubbleGold"
sprite_over="iconBubbleWhite"
size="100%-436 100%-45 100%-420 100%-29"
z="50"
hotkey="lobby"
>
<action on="Press">
@@ -183,12 +184,12 @@
</action>
</object>
<object type="button" name="replayButton" style="ModernButtonRed" size="100%-410 100%-48 100%-210 100%-20">
<object type="button" name="replayButton" style="ModernButtonRed" size="100%-410 100%-48 100%-210 100%-20" z="50">
<translatableAttribute id="caption">Watch Replay</translatableAttribute>
<action on="Press">startReplay();</action>
</object>
<object type="button" name="continueButton" style="ModernButtonRed" size="100%-200 100%-48 100%-20 100%-20">
<object type="button" name="continueButton" style="ModernButtonRed" size="100%-200 100%-48 100%-20 100%-20" z="50">
<translatableAttribute id="caption">Continue</translatableAttribute>
<action on="Press">continueButton();</action>
</object>