mirror of
https://github.com/osukey/osukey.git
synced 2025-05-21 21:47:31 +09:00
Add early exist if the target screen is no longer current
This commit is contained in:
parent
f95e753adb
commit
3c5fda5f23
@ -132,6 +132,9 @@ namespace osu.Game.Skinning.Editor
|
||||
{
|
||||
Debug.Assert(skinEditor != null);
|
||||
|
||||
if (!target.IsCurrentScreen())
|
||||
return;
|
||||
|
||||
if (!target.IsLoaded)
|
||||
{
|
||||
Scheduler.AddOnce(setTarget, target);
|
||||
|
Loading…
x
Reference in New Issue
Block a user