mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 13:37:25 +08:00
only return true on Mclick
This commit is contained in:
parent
af6618a239
commit
27ea6102bc
@ -146,9 +146,10 @@ namespace osu.Game.Overlays.Chat
|
||||
|
||||
protected override bool OnMouseUp(InputState state, MouseUpEventArgs args)
|
||||
{
|
||||
if (args.Button == MouseButton.Middle)
|
||||
var isMclick = args.Button == MouseButton.Middle;
|
||||
if (isMclick)
|
||||
closeButton.Action();
|
||||
return true;
|
||||
return isMclick;
|
||||
}
|
||||
|
||||
protected override bool OnHover(InputState state)
|
||||
|
Loading…
Reference in New Issue
Block a user