1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 18:42: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()
{
RelativeSizeAxes = Axes.Both;
}
protected override void LoadComplete()
{
base.LoadComplete();
SkinSources.BindCollectionChanged(((_, args) =>
{