diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/documentwidget.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index 1b5b9af2..0977da4a 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -1261,7 +1261,9 @@ static void drawRun_DrawContext_(void *context, const iGmRun *run) { | |||
1261 | } | 1261 | } |
1262 | #endif | 1262 | #endif |
1263 | iBool isMobileHover = deviceType_App() != desktop_AppDeviceType && | 1263 | iBool isMobileHover = deviceType_App() != desktop_AppDeviceType && |
1264 | (isPartOfHover || contains_PtrSet(d->view->invalidRuns, run)); | 1264 | (isPartOfHover || contains_PtrSet(d->view->invalidRuns, run)) && |
1265 | (~run->flags & decoration_GmRunFlag || run->flags & startOfLine_GmRunFlag | ||
1266 | /* highlight link icon but not image captions */); | ||
1265 | /* While this is consistent, it's a bit excessive to indicate that an inlined image | 1267 | /* While this is consistent, it's a bit excessive to indicate that an inlined image |
1266 | is open: the image itself is the indication. */ | 1268 | is open: the image itself is the indication. */ |
1267 | const iBool isInlineImageCaption = iFalse; | 1269 | const iBool isInlineImageCaption = iFalse; |