mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Handle sidebar buttons onClick not onMouseDown.
This commit is contained in:
@ -85,7 +85,7 @@ namespace osu.Game.Overlays.Options
|
||||
};
|
||||
}
|
||||
|
||||
protected override bool OnMouseDown(InputState state, MouseDownEventArgs e)
|
||||
protected override bool OnClick(InputState state)
|
||||
{
|
||||
Action?.Invoke();
|
||||
backgroundBox.FlashColour(Color4.White, 400);
|
||||
|
Reference in New Issue
Block a user