mirror of
https://github.com/ppy/osu.git
synced 2026-05-18 10:31:41 +08:00
Fix mods deselection difference
This commit is contained in:
@@ -323,7 +323,13 @@ namespace osu.Game.Screens.SelectV2
|
||||
{
|
||||
Hotkey = GlobalAction.ToggleModSelection,
|
||||
Current = Mods,
|
||||
RequestDeselectAllMods = () => Mods.Value = Array.Empty<Mod>()
|
||||
RequestDeselectAllMods = () =>
|
||||
{
|
||||
if (modSelectOverlay.State.Value == Visibility.Hidden)
|
||||
Mods.Value = Array.Empty<Mod>();
|
||||
else
|
||||
modSelectOverlay.DeselectAll();
|
||||
}
|
||||
},
|
||||
new FooterButtonRandom
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user