mirror of
https://github.com/ppy/osu.git
synced 2025-02-14 23:33:23 +08:00
Move load-complete fade specification inside
This commit is contained in:
parent
e8f96b2401
commit
8ec7970b6a
@ -35,5 +35,11 @@ namespace osu.Game.Users.Drawables
|
||||
|
||||
Texture ??= textures.Get(@"Online/avatar-guest");
|
||||
}
|
||||
|
||||
protected override void LoadComplete()
|
||||
{
|
||||
base.LoadComplete();
|
||||
this.FadeInFromZero(300, Easing.OutQuint);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -70,7 +70,6 @@ namespace osu.Game.Users.Drawables
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
};
|
||||
|
||||
avatar.OnLoadComplete += d => d.FadeInFromZero(300, Easing.OutQuint);
|
||||
avatar.OpenOnClick.BindTo(OpenOnClick);
|
||||
|
||||
return avatar;
|
||||
|
Loading…
Reference in New Issue
Block a user