mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-29 12:55:59 +02:00
Made middle click close tab
This commit is contained in:
parent
5c68049bd1
commit
607f819d90
1 changed files with 6 additions and 0 deletions
|
@ -107,6 +107,12 @@ namespace Beefy.widgets
|
|||
|
||||
public override void MouseDown(float x, float y, int32 btn, int32 btnCount)
|
||||
{
|
||||
if (btn == 2)
|
||||
{
|
||||
mCloseClickedEvent();
|
||||
return;
|
||||
}
|
||||
|
||||
bool wasMouseDown = mMouseDown;
|
||||
base.MouseDown(x, y, btn, btnCount);
|
||||
Activate();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue