mirror of
https://github.com/ppy/osu.git
synced 2025-02-19 12:03:21 +08:00
Fix background being dimmed forever after toggling statistics in results screen
This commit is contained in:
parent
9a3ca09501
commit
cc38556f61
@ -318,7 +318,7 @@ namespace osu.Game.Screens.Ranking
|
|||||||
ScorePanelList.HandleInput = false;
|
ScorePanelList.HandleInput = false;
|
||||||
|
|
||||||
// Dim background.
|
// Dim background.
|
||||||
ApplyToBackground(b => b.FadeTo(0.1f, 150));
|
ApplyToBackground(b => b.FadeColour(OsuColour.Gray(0.1f), 150));
|
||||||
|
|
||||||
detachedPanel = expandedPanel;
|
detachedPanel = expandedPanel;
|
||||||
}
|
}
|
||||||
@ -342,7 +342,7 @@ namespace osu.Game.Screens.Ranking
|
|||||||
ScorePanelList.HandleInput = true;
|
ScorePanelList.HandleInput = true;
|
||||||
|
|
||||||
// Un-dim background.
|
// Un-dim background.
|
||||||
ApplyToBackground(b => b.FadeTo(0.5f, 150));
|
ApplyToBackground(b => b.FadeColour(OsuColour.Gray(0.5f), 150));
|
||||||
|
|
||||||
detachedPanel = null;
|
detachedPanel = null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user