LoadComponent before assigning URL to ensure dependency loading

This commit is contained in:
FreezyLemon 2017-12-03 23:55:00 +01:00
parent 3f336b8e61
commit a839d0e91d

View File

@ -36,7 +36,7 @@ namespace osu.Game.Graphics.Containers
{
AddText(text, link =>
{
((T)link).Url = url;
LoadComponentAsync(link, d => ((T)d).Url = url);
creationParameters?.Invoke(link);
});
}