1
0
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:
Dean Herbert 2017-03-15 17:07:56 +09:00
parent 9d0c687453
commit 78efecb89d
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49
2 changed files with 6 additions and 5 deletions

View File

@ -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);

View File

@ -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);