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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user