make markup label focusable, remove event methods abstraction

This commit is contained in:
yggverse 2024-07-26 21:12:15 +03:00
parent 564fd4b95f
commit c78ad29f1c
3 changed files with 10 additions and 40 deletions

View file

@ -280,18 +280,6 @@ class Gemtext extends Markup
);
}
protected function _onButtonPressEvent(
GtkLabel $label,
GdkEvent $event
): bool
{
// Markup container has focus event disabled (hidden cursor position)
// this solution deactivates Request entry on click Markup area
$this->content->page->container->tab->gtk->grab_focus();
return false;
}
private function _wrap(
string $value
): string