1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 12:53:11 +08:00

Reword change focus comment

This commit is contained in:
Cootz 2023-06-09 17:10:13 +03:00
parent 7697dbe4b3
commit d219b5f77f

View File

@ -838,7 +838,8 @@ namespace osu.Game.Overlays.Mods
if (!Active.Value)
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));
return true;