1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-08 17:54:18 +08:00

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
Unverified
parent 9e5bb146d3
commit 627c857da8
@@ -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()