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:
parent
108a3deb27
commit
d6d87e1975
@ -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) =>
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user