1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 12:42:54 +08:00

Use "Click" instead of "Action"

This commit is contained in:
Dean Herbert 2019-07-26 13:17:21 +09:00
parent 7ec6ac7b0e
commit 56b27db7a4

View File

@ -141,13 +141,15 @@ namespace osu.Game.Overlays.Chat.Tabs
protected override bool OnMouseUp(MouseUpEvent e)
{
if (e.Button == MouseButton.Middle)
switch (e.Button)
{
CloseButton.Action();
return true;
}
case MouseButton.Middle:
CloseButton.Click();
return true;
return false;
default:
return false;
}
}
[BackgroundDependencyLoader]