mirror of
https://github.com/osukey/osukey.git
synced 2025-05-31 10:27:26 +09:00
Make avatars use a delayed load wrapper
This commit is contained in:
parent
3a202e1a42
commit
23a729c83a
@ -40,7 +40,7 @@ namespace osu.Game.Users
|
|||||||
{
|
{
|
||||||
displayedAvatar?.FadeOut(300);
|
displayedAvatar?.FadeOut(300);
|
||||||
displayedAvatar?.Expire();
|
displayedAvatar?.Expire();
|
||||||
Add(displayedAvatar = new AsyncLoadWrapper(new Avatar(user)
|
Add(displayedAvatar = new DelayedLoadWrapper(new Avatar(user)
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
OnLoadComplete = d => d.FadeInFromZero(200),
|
OnLoadComplete = d => d.FadeInFromZero(200),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user