mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
LoadComponent before assigning URL to ensure dependency loading
This commit is contained in:
@ -36,7 +36,7 @@ namespace osu.Game.Graphics.Containers
|
|||||||
{
|
{
|
||||||
AddText(text, link =>
|
AddText(text, link =>
|
||||||
{
|
{
|
||||||
((T)link).Url = url;
|
LoadComponentAsync(link, d => ((T)d).Url = url);
|
||||||
creationParameters?.Invoke(link);
|
creationParameters?.Invoke(link);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user