aboutsummaryrefslogtreecommitdiff
path: root/libstorycode/gtk/gtknarrativeview.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2019-12-06 22:59:44 +0100
committerThomas White <taw@bitwiz.me.uk>2019-12-06 22:59:44 +0100
commit8afb702e583c2dfc8a72e9647870a1f1da0a8ff2 (patch)
treeb3f74681e2729097081536f728f2f803d8fdf4be /libstorycode/gtk/gtknarrativeview.c
parentbbc6b6deaaa4a467c9f66e4200d769648f231450 (diff)
Defer rendering of slide thumbnails until the first time they're drawn
Diffstat (limited to 'libstorycode/gtk/gtknarrativeview.c')
-rw-r--r--libstorycode/gtk/gtknarrativeview.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libstorycode/gtk/gtknarrativeview.c b/libstorycode/gtk/gtknarrativeview.c
index e13e106..97da45b 100644
--- a/libstorycode/gtk/gtknarrativeview.c
+++ b/libstorycode/gtk/gtknarrativeview.c
@@ -610,6 +610,7 @@ static gboolean gtknv_draw_sig(GtkWidget *da, cairo_t *cr, GtkNarrativeView *e)
/* Contents */
narrative_render_cairo(e->n, cr, narrative_get_stylesheet(e->n),
+ narrative_get_imagestore(e->n),
e->scroll_pos, e->scroll_pos+e->visible_height);
/* Editing overlay */