mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-30 13:04:13 +00:00
draft current tab activation on middle button pressed
This commit is contained in:
parent
77c2e499e1
commit
4200dd2368
@ -88,9 +88,16 @@ Label::Label(
|
|||||||
EVENT__BUTTON_MIDDLE->signal_pressed().connect(
|
EVENT__BUTTON_MIDDLE->signal_pressed().connect(
|
||||||
[this](int n, double x, double y)
|
[this](int n, double x, double y)
|
||||||
{
|
{
|
||||||
if (!is_pinned) // @TODO match current tab condition
|
// @TODO activate tab
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
EVENT__BUTTON_MIDDLE->signal_released().connect(
|
||||||
|
[this](int n, double x, double y)
|
||||||
|
{
|
||||||
|
if (!is_pinned)
|
||||||
{
|
{
|
||||||
action__tab_close->activate();
|
// @TODO action__tab_close->activate();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user