summaryrefslogtreecommitdiff
path: root/src/ui.c
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik.ramaekers@protonmail.com>2020-02-12 12:21:06 +0100
committerAldrik Ramaekers <aldrik.ramaekers@protonmail.com>2020-02-12 12:21:06 +0100
commit96eb719df8a84c7892121aee9e684a64eae2e4d4 (patch)
tree1453194e95efb2150ee248fff20c4242a704a429 /src/ui.c
parent7240eec58cc28e0340274caf565889a1929ffebd (diff)
ui work
Diffstat (limited to 'src/ui.c')
-rw-r--r--src/ui.c2
1 files changed, 1 insertions, 1 deletions
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;