summaryrefslogtreecommitdiff
path: root/ide-hover.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-09-07 15:18:45 -0400
committerpommicket <pommicket@gmail.com>2023-09-07 22:49:53 -0400
commit5cad1bee9b72610d9d97b5f97e7f1a245a2d2ba5 (patch)
tree5ee6f155f6900be4eeec07ad33417d2d9992a80f /ide-hover.c
parent815d652b570f53c989f62d0c7db847d7d6dfd940 (diff)
more diagnostics
Diffstat (limited to 'ide-hover.c')
-rw-r--r--ide-hover.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ide-hover.c b/ide-hover.c
index ae870c3..59498f7 100644
--- a/ide-hover.c
+++ b/ide-hover.c
@@ -159,7 +159,7 @@ void hover_frame(Ted *ted, double dt) {
const char *text = hover->text;
Font *font = ted->font;
float char_height = text_font_char_height(font);
- float x = ted->mouse_pos.x, y = ted->mouse_pos.y + char_height;
+ float x = ted_mouse_pos(ted).x, y = ted_mouse_pos(ted).y + char_height;
buffer_highlight_lsp_range(buffer, hover->range, COLOR_HOVER_HL);