change TextWindowType to Text

This commit is contained in:
yggverse 2025-02-04 13:15:41 +02:00
parent 12a61fe5f2
commit a6f0bd2344

View file

@ -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::Widget,
TextWindowType::Text,
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::Widget,
TextWindowType::Text,
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::Widget,
TextWindowType::Text,
window_x as i32,
window_y as i32,
);