mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 16:12:54 +08:00
Fix scheduled events not running on previous drawables
This commit is contained in:
parent
a290437286
commit
58feba72a3
@ -38,7 +38,8 @@ namespace osu.Game.Skinning
|
||||
|
||||
private void onChange() =>
|
||||
// schedule required to avoid calls after disposed.
|
||||
Schedule(() => SkinChanged(skin, allowDefaultFallback));
|
||||
// note that this has the side-effect of components only performance a skin change when they are alive.
|
||||
Scheduler.AddOnce(() => SkinChanged(skin, allowDefaultFallback));
|
||||
|
||||
protected override void LoadAsyncComplete()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user