mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 06:36:31 +09:00
Changed LoadWrapper back to DelayedLoadWrapper and fixed the implementation (dependent on framework change, delay now in ctor)
This commit is contained in:
@ -40,12 +40,13 @@ namespace osu.Game.Users
|
||||
{
|
||||
displayedAvatar?.FadeOut(300);
|
||||
displayedAvatar?.Expire();
|
||||
Add(displayedAvatar = new LoadWrapper(
|
||||
Add(displayedAvatar = new DelayedLoadWrapper(
|
||||
new Avatar(user)
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
OnLoadComplete = d => d.FadeInFromZero(200),
|
||||
})
|
||||
},
|
||||
500)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user