1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-09 17:24:04 +08:00

Select all when pressing enter instead of every mod selection change

This commit is contained in:
Felipe Marins
2024-01-15 03:22:52 -03:00
Unverified
parent dce9204731
commit d8962ddff8
+2 -3
View File
@@ -565,9 +565,6 @@ namespace osu.Game.Overlays.Mods
.ToArray();
SelectedMods.Value = ComputeNewModsFromSelection(SelectedMods.Value, candidateSelection);
if (SearchTextBox.HasFocus)
SearchTextBox.SelectAll();
}
#region Transition handling
@@ -724,6 +721,8 @@ namespace osu.Game.Overlays.Mods
if (firstMod is not null)
firstMod.Active.Value = !firstMod.Active.Value;
SearchTextBox.SelectAll();
return true;
}
}