1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 00:42:55 +08:00

Convert inline math to not so inline to make operation more explicit

This commit is contained in:
Dean Herbert 2022-01-30 02:36:50 +09:00
parent 3d771c0fc7
commit d3cb910cf8

View File

@ -312,12 +312,14 @@ namespace osu.Game.Online.Leaderboards
{ {
scrollContainer.Add(scoreFlowContainer = newFlow); scrollContainer.Add(scoreFlowContainer = newFlow);
int i = 0; double delay = 0;
foreach (var s in scoreFlowContainer.Children) foreach (var s in scoreFlowContainer.Children)
{ {
using (s.BeginDelayedSequence(i++ * 50)) using (s.BeginDelayedSequence(delay))
s.Show(); s.Show();
delay += 50;
} }
scrollContainer.ScrollToStart(false); scrollContainer.ScrollToStart(false);