mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 07:33:55 +09:00
ToolbarButtons should still handle MouseDown events.
This commit is contained in:
@ -127,6 +127,8 @@ namespace osu.Game.Overlays
|
|||||||
Size = new Vector2(WIDTH + (DrawableText.IsVisible ? DrawableText.DrawSize.X : 0), 1);
|
Size = new Vector2(WIDTH + (DrawableText.IsVisible ? DrawableText.DrawSize.X : 0), 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected override bool OnMouseDown(InputState state, MouseDownEventArgs args) => true;
|
||||||
|
|
||||||
protected override bool OnClick(InputState state)
|
protected override bool OnClick(InputState state)
|
||||||
{
|
{
|
||||||
Action?.Invoke();
|
Action?.Invoke();
|
||||||
|
Reference in New Issue
Block a user