From 7800ec6c263103b0351a2012771aa114dc97a95f Mon Sep 17 00:00:00 2001 From: yggverse Date: Tue, 4 Feb 2025 18:23:51 +0200 Subject: [PATCH] return `TextWindowType::Widget` coords mode --- src/app/browser/window/tab/item/page/content/text/gemini.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/browser/window/tab/item/page/content/text/gemini.rs b/src/app/browser/window/tab/item/page/content/text/gemini.rs index f8618e82..51d5abc8 100644 --- a/src/app/browser/window/tab/item/page/content/text/gemini.rs +++ b/src/app/browser/window/tab/item/page/content/text/gemini.rs @@ -355,7 +355,7 @@ impl Gemini { move |_, _, window_x, window_y| { // Detect tag match current coords hovered let (buffer_x, buffer_y) = text_view.window_to_buffer_coords( - TextWindowType::Text, + TextWindowType::Widget, window_x as i32, window_y as i32, ); @@ -394,7 +394,7 @@ impl Gemini { move |_, _, window_x, window_y| { // Detect tag match current coords hovered let (buffer_x, buffer_y) = text_view.window_to_buffer_coords( - TextWindowType::Text, + TextWindowType::Widget, window_x as i32, window_y as i32, ); @@ -439,7 +439,7 @@ impl Gemini { move |_, window_x, window_y| { // Detect tag match current coords hovered let (buffer_x, buffer_y) = text_view.window_to_buffer_coords( - TextWindowType::Text, + TextWindowType::Widget, window_x as i32, window_y as i32, );