1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-26 20:23:00 +08:00

Switched to the new LoadWrapper class for asynchronous loading (LoadComponentAsync not used here since it's not possible to call that method on a component that has not finished loading, and we're in the constructor where it would be called)

This commit is contained in:
FreezyLemon 2017-11-21 16:18:32 +01:00
parent 870807c265
commit fd7ac9b6fc

View File

@ -58,7 +58,7 @@ namespace osu.Game.Users
Children = new Drawable[] Children = new Drawable[]
{ {
new AsyncLoadWrapper(new UserCoverBackground(user) new LoadWrapper(new UserCoverBackground(user)
{ {
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
Anchor = Anchor.Centre, Anchor = Anchor.Centre,