1
0
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:
Dean Herbert 2016-11-08 19:18:31 +09:00
parent 8c68f9ba93
commit 89b11ed099

View File

@ -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);