Browse Source

use Gdk::DOUBLE_BUTTON_PRESS

PHP-GTK3
yggverse 4 months ago
parent
commit
5559b236fe
  1. 2
      src/Entity/Browser/Container/Tab.php

2
src/Entity/Browser/Container/Tab.php

@ -134,7 +134,7 @@ class Tab @@ -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…
Cancel
Save