summaryrefslogtreecommitdiff
path: root/render/html_interaction.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/html_interaction.c')
-rw-r--r--render/html_interaction.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/render/html_interaction.c b/render/html_interaction.c
index e030e570d..279eb4058 100644
--- a/render/html_interaction.c
+++ b/render/html_interaction.c
@@ -1154,6 +1154,13 @@ void html_overflow_scroll_callback(void *client_data,
switch(scrollbar_data->msg) {
case SCROLLBAR_MSG_MOVED:
+
+ if (html->reflowing == true) {
+ /* Can't redraw during layout, and it will
+ * be redrawn after layout anyway. */
+ break;
+ }
+
html__redraw_a_box(html, box);
break;
case SCROLLBAR_MSG_SCROLL_START: