mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 20:45:46 +08:00
Remove Alpha 0.001 hack.
This commit is contained in:
parent
9d0c687453
commit
78efecb89d
@ -31,8 +31,10 @@ namespace osu.Game.Screens.Select.Leaderboards
|
||||
int i = 0;
|
||||
foreach(var s in scores)
|
||||
{
|
||||
scrollFlow.Add(new LeaderboardScore(s, i + 1));
|
||||
i++;
|
||||
scrollFlow.Add(new LeaderboardScore(s, 1 + i++)
|
||||
{
|
||||
AlwaysPresent = true
|
||||
});
|
||||
}
|
||||
|
||||
scrollContainer.ScrollTo(0f, false);
|
||||
|
@ -60,14 +60,13 @@ namespace osu.Game.Screens.Select.Leaderboards
|
||||
{
|
||||
base.LoadComplete();
|
||||
|
||||
// TODO: This fade to 0.01 is hacky, find a better way
|
||||
FadeTo(0.01f);
|
||||
|
||||
foreach (Drawable d in new Drawable[] { avatar, nameLabel, scoreLabel, scoreRank, flagBadgeContainer, maxCombo, accuracy, modsContainer, })
|
||||
{
|
||||
d.FadeOut();
|
||||
}
|
||||
|
||||
Alpha = 0;
|
||||
|
||||
content.MoveToY(75);
|
||||
avatar.MoveToX(75);
|
||||
nameLabel.MoveToX(150);
|
||||
|
Loading…
Reference in New Issue
Block a user