1
0
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:
Denis Titovets
2025-10-06 01:58:49 +03:00
Unverified
parent aad321a0b8
commit dbd48bc3a1
+7 -1
View File
@@ -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
{