Skip to content

Commit

Permalink
Merge pull request #2296 from smoogipoo/fix-background-fade
Browse files Browse the repository at this point in the history
Fix beatmap background fade not being updated on retry
  • Loading branch information
peppy committed Mar 23, 2018
2 parents 802ef3e + e47aa0e commit 092ba48
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions osu.Game/Screens/Play/ScreenWithBeatmapBackground.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ protected override void OnEntering(Screen last)
UpdateBackgroundElements();
}

protected override void OnResuming(Screen last)
{
base.OnResuming(last);
UpdateBackgroundElements();
}

protected virtual void UpdateBackgroundElements()
{
if (!IsCurrentScreen) return;
Expand Down

0 comments on commit 092ba48

Please sign in to comment.