1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 08:22:56 +08:00

Move collection change bind to LoadComplete

Best practice anyways
This commit is contained in:
Salman Ahmed 2021-06-11 17:35:32 +03:00
parent 108a3deb27
commit d6d87e1975

View File

@ -65,6 +65,11 @@ namespace osu.Game.Skinning
protected SkinProvidingContainer() protected SkinProvidingContainer()
{ {
RelativeSizeAxes = Axes.Both; RelativeSizeAxes = Axes.Both;
}
protected override void LoadComplete()
{
base.LoadComplete();
SkinSources.BindCollectionChanged(((_, args) => SkinSources.BindCollectionChanged(((_, args) =>
{ {