mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09:00
Fix scheduled events not running on previous drawables
This commit is contained in:
@ -38,7 +38,8 @@ namespace osu.Game.Skinning
|
|||||||
|
|
||||||
private void onChange() =>
|
private void onChange() =>
|
||||||
// schedule required to avoid calls after disposed.
|
// 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()
|
protected override void LoadAsyncComplete()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user