mirror of
https://github.com/ppy/osu
synced 2024-12-14 19:06:07 +00:00
Add fade to prevent jarring transitions
This commit is contained in:
parent
c3197da3da
commit
f8042e6fd3
@ -94,6 +94,7 @@ namespace osu.Game.Screens.Ranking.Statistics
|
|||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Direction = FillDirection.Vertical,
|
Direction = FillDirection.Vertical,
|
||||||
Spacing = new Vector2(30, 15),
|
Spacing = new Vector2(30, 15),
|
||||||
|
Alpha = 0
|
||||||
};
|
};
|
||||||
|
|
||||||
rows.AddRange(newScore.Ruleset.CreateInstance()
|
rows.AddRange(newScore.Ruleset.CreateInstance()
|
||||||
@ -111,6 +112,7 @@ namespace osu.Game.Screens.Ranking.Statistics
|
|||||||
|
|
||||||
spinner.Hide();
|
spinner.Hide();
|
||||||
content.Add(d);
|
content.Add(d);
|
||||||
|
d.FadeIn(250, Easing.OutQuint);
|
||||||
}, localCancellationSource.Token);
|
}, localCancellationSource.Token);
|
||||||
}), localCancellationSource.Token);
|
}), localCancellationSource.Token);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user