mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
deactivate Request entry on click Content area with focus event disabled
This commit is contained in:
parent
6afc498186
commit
33c655534e
2 changed files with 8 additions and 0 deletions
|
|
@ -272,6 +272,10 @@ class Gemtext extends Markup
|
||||||
\GdkEvent $event
|
\GdkEvent $event
|
||||||
): bool
|
): 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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,10 @@ class Plain extends Markup
|
||||||
\GdkEvent $event
|
\GdkEvent $event
|
||||||
): bool
|
): 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;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue