mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 00:52:57 +08:00
Handle sidebar buttons onClick not onMouseDown.
This commit is contained in:
parent
8c68f9ba93
commit
89b11ed099
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user