Merge pull request #29540 from frenzibyte/fix-resume-overlay

Fix resume overlay appearing behind HUD/skip overlays
This commit is contained in:
Dan Balasescu 2024-08-21 08:56:01 +09:00 committed by GitHub
commit 4ee5a1225e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -442,7 +442,6 @@ namespace osu.Game.Screens.Play
},
// display the cursor above some HUD elements.
DrawableRuleset.Cursor?.CreateProxy() ?? new Container(),
DrawableRuleset.ResumeOverlay?.CreateProxy() ?? new Container(),
HUDOverlay = new HUDOverlay(DrawableRuleset, GameplayState.Mods, Configuration.AlwaysShowLeaderboard)
{
HoldToQuit =
@ -470,6 +469,7 @@ namespace osu.Game.Screens.Play
RequestSkip = () => progressToResults(false),
Alpha = 0
},
DrawableRuleset.ResumeOverlay?.CreateProxy() ?? new Container(),
PauseOverlay = new PauseOverlay
{
OnResume = Resume,