Skip to content

Commit

Permalink
Fix resume overlay appearing behind HUD/skip overlays
Browse files Browse the repository at this point in the history
  • Loading branch information
frenzibyte committed Aug 20, 2024
1 parent f4b8fc6 commit 0d358a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osu.Game/Screens/Play/Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,6 @@ private Drawable createOverlayComponents(IWorkingBeatmap working)
},
// 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 =
Expand Down Expand Up @@ -470,6 +469,7 @@ private Drawable createOverlayComponents(IWorkingBeatmap working)
RequestSkip = () => progressToResults(false),
Alpha = 0
},
DrawableRuleset.ResumeOverlay?.CreateProxy() ?? new Container(),
PauseOverlay = new PauseOverlay
{
OnResume = Resume,
Expand Down

0 comments on commit 0d358a1

Please sign in to comment.