mirror of
https://github.com/ppy/osu
synced 2024-12-14 10:57:41 +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,
|
||||
Direction = FillDirection.Vertical,
|
||||
Spacing = new Vector2(30, 15),
|
||||
Alpha = 0
|
||||
};
|
||||
|
||||
rows.AddRange(newScore.Ruleset.CreateInstance()
|
||||
@ -111,6 +112,7 @@ namespace osu.Game.Screens.Ranking.Statistics
|
||||
|
||||
spinner.Hide();
|
||||
content.Add(d);
|
||||
d.FadeIn(250, Easing.OutQuint);
|
||||
}, localCancellationSource.Token);
|
||||
}), localCancellationSource.Token);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user