Propagate SourceChanged events from SkinManager down in the ruleset skin container

This commit is contained in:
Salman Ahmed
2021-06-22 03:44:32 +03:00
parent 9e5bb146d3
commit 627c857da8

View File

@ -50,7 +50,13 @@ namespace osu.Game.Skinning
private void load()
{
UpdateSkins();
skinManager.SourceChanged += UpdateSkins;
skinManager.SourceChanged += OnSourceChanged;
}
protected override void OnSourceChanged()
{
UpdateSkins();
base.OnSourceChanged();
}
protected virtual void UpdateSkins()