mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 15:47:26 +08:00
Add inline comment mentioning why CreateChildDependencies
is being used in this instance
This commit is contained in:
parent
fdd6778f36
commit
e387feb1d6
@ -47,11 +47,11 @@ namespace osu.Game.Skinning
|
||||
protected override IReadOnlyDependencyContainer CreateChildDependencies(IReadOnlyDependencyContainer parent)
|
||||
{
|
||||
parentSource = parent.Get<ISkinSource>();
|
||||
|
||||
UpdateSkinSources();
|
||||
|
||||
parentSource.SourceChanged += OnSourceChanged;
|
||||
|
||||
// ensure sources are populated and ready for use before childrens' asynchronous load flow.
|
||||
UpdateSkinSources();
|
||||
|
||||
return base.CreateChildDependencies(parent);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user