mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
change TextWindowType to Text
This commit is contained in:
parent
12a61fe5f2
commit
a6f0bd2344
1 changed files with 3 additions and 3 deletions
|
|
@ -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::Widget,
|
TextWindowType::Text,
|
||||||
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::Widget,
|
TextWindowType::Text,
|
||||||
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::Widget,
|
TextWindowType::Text,
|
||||||
window_x as i32,
|
window_x as i32,
|
||||||
window_y as i32,
|
window_y as i32,
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue