mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Focus focus not being transferred correctly to parent settings panel on exiting nested panel
Seemingly harmless schedule delay ommission meant that the textbox may not be in a state it can handle the incoming focus event. Regressed in https://github.com/ppy/osu/pull/14345#discussion_r690697501.
This commit is contained in:
@ -28,7 +28,7 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
if (!allowImmediateFocus)
|
if (!allowImmediateFocus)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
Scheduler.Add(() => GetContainingInputManager().ChangeFocus(this), false);
|
Scheduler.Add(() => GetContainingInputManager().ChangeFocus(this));
|
||||||
}
|
}
|
||||||
|
|
||||||
public new void KillFocus() => base.KillFocus();
|
public new void KillFocus() => base.KillFocus();
|
||||||
|
Reference in New Issue
Block a user