mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Avoid scheduling focus operation when not required
This commit is contained in:
@ -25,7 +25,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
if (!allowImmediateFocus)
|
||||
return;
|
||||
|
||||
Schedule(() => GetContainingInputManager().ChangeFocus(this));
|
||||
Scheduler.Add(() => GetContainingInputManager().ChangeFocus(this), false);
|
||||
}
|
||||
|
||||
public bool HoldFocus
|
||||
|
Reference in New Issue
Block a user