From 5cad1bee9b72610d9d97b5f97e7f1a245a2d2ba5 Mon Sep 17 00:00:00 2001 From: pommicket Date: Thu, 7 Sep 2023 15:18:45 -0400 Subject: more diagnostics --- ide-hover.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ide-hover.c') 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); -- cgit v1.2.3