diff --git a/osu.Game/Overlays/Mods/ModButton.cs b/osu.Game/Overlays/Mods/ModButton.cs index 666bd27b1e..c93b1bc6c9 100644 --- a/osu.Game/Overlays/Mods/ModButton.cs +++ b/osu.Game/Overlays/Mods/ModButton.cs @@ -142,7 +142,15 @@ namespace osu.Game.Overlays.Mods protected override bool OnMouseDown(InputState state, MouseDownEventArgs args) { - (args.Button == MouseButton.Right ? (Action)SelectPrevious : SelectNext)(); + switch (args.Button) + { + case MouseButton.Left: + SelectNext(); + break; + case MouseButton.Right: + SelectPrevious(); + break; + } return true; }