mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-09-13 15:32:01 +00:00
return TextWindowType::Widget
coords mode
This commit is contained in:
parent
b995482e45
commit
7800ec6c26
@ -355,7 +355,7 @@ impl Gemini {
|
|||||||
move |_, _, window_x, window_y| {
|
move |_, _, window_x, window_y| {
|
||||||
// Detect tag match current coords hovered
|
// Detect tag match current coords hovered
|
||||||
let (buffer_x, buffer_y) = text_view.window_to_buffer_coords(
|
let (buffer_x, buffer_y) = text_view.window_to_buffer_coords(
|
||||||
TextWindowType::Text,
|
TextWindowType::Widget,
|
||||||
window_x as i32,
|
window_x as i32,
|
||||||
window_y as i32,
|
window_y as i32,
|
||||||
);
|
);
|
||||||
@ -394,7 +394,7 @@ impl Gemini {
|
|||||||
move |_, _, window_x, window_y| {
|
move |_, _, window_x, window_y| {
|
||||||
// Detect tag match current coords hovered
|
// Detect tag match current coords hovered
|
||||||
let (buffer_x, buffer_y) = text_view.window_to_buffer_coords(
|
let (buffer_x, buffer_y) = text_view.window_to_buffer_coords(
|
||||||
TextWindowType::Text,
|
TextWindowType::Widget,
|
||||||
window_x as i32,
|
window_x as i32,
|
||||||
window_y as i32,
|
window_y as i32,
|
||||||
);
|
);
|
||||||
@ -439,7 +439,7 @@ impl Gemini {
|
|||||||
move |_, window_x, window_y| {
|
move |_, window_x, window_y| {
|
||||||
// Detect tag match current coords hovered
|
// Detect tag match current coords hovered
|
||||||
let (buffer_x, buffer_y) = text_view.window_to_buffer_coords(
|
let (buffer_x, buffer_y) = text_view.window_to_buffer_coords(
|
||||||
TextWindowType::Text,
|
TextWindowType::Widget,
|
||||||
window_x as i32,
|
window_x as i32,
|
||||||
window_y as i32,
|
window_y as i32,
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user