mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 19:22:54 +08:00
LoadComponent before assigning URL to ensure dependency loading
This commit is contained in:
parent
3f336b8e61
commit
a839d0e91d
@ -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);
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user