mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
grab focus on pressed
This commit is contained in:
parent
a6f0bd2344
commit
63d2821c07
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ impl Text {
|
|||
use gtk::{prelude::WidgetExt, GestureClick};
|
||||
let controller = GestureClick::new();
|
||||
|
||||
controller.connect_released({
|
||||
controller.connect_pressed({
|
||||
let text_view = gemini.text_view.clone();
|
||||
move |_, _, _, _| {
|
||||
text_view.grab_focus();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue