mirror of
https://github.com/ppy/osu.git
synced 2026-06-04 02:13:39 +08:00
Invert conditional to read a bit better
This commit is contained in:
@@ -325,10 +325,10 @@ namespace osu.Game.Screens.SelectV2
|
||||
Current = Mods,
|
||||
RequestDeselectAllMods = () =>
|
||||
{
|
||||
if (modSelectOverlay.State.Value == Visibility.Hidden)
|
||||
Mods.Value = Array.Empty<Mod>();
|
||||
else
|
||||
if (modSelectOverlay.State.Value == Visibility.Visible)
|
||||
modSelectOverlay.DeselectAll();
|
||||
else
|
||||
Mods.Value = Array.Empty<Mod>();
|
||||
}
|
||||
},
|
||||
new FooterButtonRandom
|
||||
|
||||
Reference in New Issue
Block a user