mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
use Gdk::DOUBLE_BUTTON_PRESS
This commit is contained in:
parent
3958b6dd4b
commit
5559b236fe
1 changed files with 1 additions and 1 deletions
|
|
@ -134,7 +134,7 @@ class Tab
|
|||
?\GdkEvent $event
|
||||
) {
|
||||
// Close tab on double click
|
||||
if ($event->type == 5) // @TODO PHP-GTK3 Gdk.EventType.DOUBLE_BUTTON_PRESS
|
||||
if ($event->type == \Gdk::DOUBLE_BUTTON_PRESS)
|
||||
{
|
||||
$this->close();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue