mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 19:43:22 +08:00
Reword change focus comment
This commit is contained in:
parent
7697dbe4b3
commit
d219b5f77f
@ -838,7 +838,8 @@ namespace osu.Game.Overlays.Mods
|
|||||||
if (!Active.Value)
|
if (!Active.Value)
|
||||||
RequestScroll?.Invoke(this);
|
RequestScroll?.Invoke(this);
|
||||||
|
|
||||||
//Kill focus on SearchTextBox
|
//By doing this we kill the focus on SearchTextBox.
|
||||||
|
//Killing focus is done here because it's the only feasible place on ModSelectOverlay you can click on without triggering any action.
|
||||||
Scheduler.Add(() => GetContainingInputManager().ChangeFocus(null));
|
Scheduler.Add(() => GetContainingInputManager().ChangeFocus(null));
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user