Skip to content

Commit

Permalink
Merge pull request ppy#29540 from frenzibyte/fix-resume-overlay
Browse files Browse the repository at this point in the history
Fix resume overlay appearing behind HUD/skip overlays
  • Loading branch information
smoogipoo committed Aug 20, 2024
2 parents f4b8fc6 + 0d358a1 commit 4ee5a12
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 4ee5a12

Please sign in to comment.