From 96eb719df8a84c7892121aee9e684a64eae2e4d4 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Wed, 12 Feb 2020 12:21:06 +0100 Subject: ui work --- src/ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui.c b/src/ui.c index d9c5cce..043f088 100644 --- a/src/ui.c +++ b/src/ui.c @@ -997,7 +997,7 @@ bool ui_push_hypertext_link(char *text) s32 text_width = render_text(global_ui_context.font_small, text_x, text_y, text, bg_color); if (result) - render_rectangle(text_x, text_y + text_h-1, text_width, 1, bg_color); + render_rectangle(text_x, text_y + text_h+2, text_width, 1, bg_color); if (global_ui_context.layout.layout_direction == LAYOUT_HORIZONTAL) global_ui_context.layout.offset_x += total_w; -- cgit v1.2.3-70-g09d2