From 64fba9470dc3bc3c40d247c790dc6cb8986b965b Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Tue, 7 Oct 2025 18:07:58 +0900 Subject: [PATCH] Invert conditional to read a bit better --- osu.Game/Screens/SelectV2/SongSelect.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/osu.Game/Screens/SelectV2/SongSelect.cs b/osu.Game/Screens/SelectV2/SongSelect.cs index cff71c4fca..516f8446ac 100644 --- a/osu.Game/Screens/SelectV2/SongSelect.cs +++ b/osu.Game/Screens/SelectV2/SongSelect.cs @@ -325,10 +325,10 @@ namespace osu.Game.Screens.SelectV2 Current = Mods, RequestDeselectAllMods = () => { - if (modSelectOverlay.State.Value == Visibility.Hidden) - Mods.Value = Array.Empty(); - else + if (modSelectOverlay.State.Value == Visibility.Visible) modSelectOverlay.DeselectAll(); + else + Mods.Value = Array.Empty(); } }, new FooterButtonRandom