mirror of
https://github.com/ppy/osu
synced 2024-12-16 11:56:31 +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)
|
foreach (var child in content)
|
||||||
child.FadeOut(150).Expire();
|
child.FadeOut(150).Expire();
|
||||||
|
|
||||||
|
spinner.Hide();
|
||||||
|
|
||||||
var newScore = score.NewValue;
|
var newScore = score.NewValue;
|
||||||
|
|
||||||
if (newScore == null)
|
if (newScore == null)
|
||||||
@ -76,8 +78,6 @@ namespace osu.Game.Screens.Ranking.Statistics
|
|||||||
|
|
||||||
if (newScore.HitEvents == null || newScore.HitEvents.Count == 0)
|
if (newScore.HitEvents == null || newScore.HitEvents.Count == 0)
|
||||||
{
|
{
|
||||||
spinner.Hide();
|
|
||||||
|
|
||||||
content.Add(new FillFlowContainer
|
content.Add(new FillFlowContainer
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
|
Loading…
Reference in New Issue
Block a user