summaryrefslogtreecommitdiff
path: root/render/html_redraw.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/html_redraw.c')
-rw-r--r--render/html_redraw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/html_redraw.c b/render/html_redraw.c
index fb9b7b7b4..5dd8bfd54 100644
--- a/render/html_redraw.c
+++ b/render/html_redraw.c
@@ -873,7 +873,7 @@ bool text_redraw(const char *utf8_text, size_t utf8_len,
plot_fstyle.size *= scale;
/* is this box part of a selection? */
- if (!excluded && current_redraw_browser) {
+ if (!excluded && ctx->interactive == true) {
unsigned len = utf8_len + (space ? 1 : 0);
unsigned start_idx;
unsigned end_idx;