mirror of
https://github.com/ppy/osu
synced 2024-12-15 19:36:34 +00:00
Move spinner hiding before newScore null check
This commit is contained in:
parent
ac5d9853d3
commit
9e13c20bd4
@ -69,6 +69,8 @@ namespace osu.Game.Screens.Ranking.Statistics
|
||||
foreach (var child in content)
|
||||
child.FadeOut(150).Expire();
|
||||
|
||||
spinner.Hide();
|
||||
|
||||
var newScore = score.NewValue;
|
||||
|
||||
if (newScore == null)
|
||||
@ -76,8 +78,6 @@ namespace osu.Game.Screens.Ranking.Statistics
|
||||
|
||||
if (newScore.HitEvents == null || newScore.HitEvents.Count == 0)
|
||||
{
|
||||
spinner.Hide();
|
||||
|
||||
content.Add(new FillFlowContainer
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
|
Loading…
Reference in New Issue
Block a user