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:
parent
7ec6ac7b0e
commit
56b27db7a4
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user