1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 11:37:28 +08:00

Select search box text on ModSelectOverlay when mod selection changes

This commit is contained in:
Felipe Marins 2023-12-28 00:10:44 -03:00
parent cbfcda7929
commit dce9204731

View File

@ -565,6 +565,9 @@ namespace osu.Game.Overlays.Mods
.ToArray();
SelectedMods.Value = ComputeNewModsFromSelection(SelectedMods.Value, candidateSelection);
if (SearchTextBox.HasFocus)
SearchTextBox.SelectAll();
}
#region Transition handling