summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-12-18 10:58:41 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-12-18 10:58:41 +0200
commit764372a4a4c460c28616fa198ead9bc1f029c9cb (patch)
tree3009579a2a30c5ed01ed233850f23925a627b40b
parent819d4955b4b5630947358dc3421967ada5fbaf72 (diff)
DocumentWidget: Fixed open links highlight position
-rw-r--r--src/ui/documentwidget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c
index 45b96082..afd0070f 100644
--- a/src/ui/documentwidget.c
+++ b/src/ui/documentwidget.c
@@ -4765,7 +4765,7 @@ static void drawRun_DrawContext_(void *context, const iGmRun *run) {
4765 int bg = tmBackgroundOpenLink_ColorId; 4765 int bg = tmBackgroundOpenLink_ColorId;
4766 const int frame = tmFrameOpenLink_ColorId; 4766 const int frame = tmFrameOpenLink_ColorId;
4767 const int pad = gap_Text; 4767 const int pad = gap_Text;
4768 iRect wideRect = { init_I2(d->docBounds.pos.x - pad, visPos.y), 4768 iRect wideRect = { init_I2(origin.x - pad, visPos.y),
4769 init_I2(d->docBounds.size.x + 2 * pad, 4769 init_I2(d->docBounds.size.x + 2 * pad,
4770 height_Rect(run->visBounds)) }; 4770 height_Rect(run->visBounds)) };
4771 adjustEdges_Rect(&wideRect, 4771 adjustEdges_Rect(&wideRect,