mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 22:22:55 +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;
|
int i = 0;
|
||||||
foreach(var s in scores)
|
foreach(var s in scores)
|
||||||
{
|
{
|
||||||
scrollFlow.Add(new LeaderboardScore(s, i + 1));
|
scrollFlow.Add(new LeaderboardScore(s, 1 + i++)
|
||||||
i++;
|
{
|
||||||
|
AlwaysPresent = true
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
scrollContainer.ScrollTo(0f, false);
|
scrollContainer.ScrollTo(0f, false);
|
||||||
|
@ -60,14 +60,13 @@ namespace osu.Game.Screens.Select.Leaderboards
|
|||||||
{
|
{
|
||||||
base.LoadComplete();
|
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, })
|
foreach (Drawable d in new Drawable[] { avatar, nameLabel, scoreLabel, scoreRank, flagBadgeContainer, maxCombo, accuracy, modsContainer, })
|
||||||
{
|
{
|
||||||
d.FadeOut();
|
d.FadeOut();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Alpha = 0;
|
||||||
|
|
||||||
content.MoveToY(75);
|
content.MoveToY(75);
|
||||||
avatar.MoveToX(75);
|
avatar.MoveToX(75);
|
||||||
nameLabel.MoveToX(150);
|
nameLabel.MoveToX(150);
|
||||||
|
Loading…
Reference in New Issue
Block a user