mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 23:53:51 +09:00
Handle left and right mouse button only.
This commit is contained in:
@ -142,7 +142,15 @@ namespace osu.Game.Overlays.Mods
|
|||||||
|
|
||||||
protected override bool OnMouseDown(InputState state, MouseDownEventArgs args)
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user