mirror of
https://github.com/ppy/osu.git
synced 2025-03-24 09:37:19 +08:00
Select all when pressing enter instead of every mod selection change
This commit is contained in:
parent
dce9204731
commit
d8962ddff8
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user