1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 03:25: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) 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;