aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2019-04-28 16:08:56 +0200
committerThomas White <taw@bitwiz.me.uk>2019-04-28 16:08:56 +0200
commit3bede6428958ce52d85af3ebc007fd82b5924f9c (patch)
tree6f15919d32ab48348812d0003eefabf646554507
parent02b5e6201e37d64e7df02460e371901402a590e3 (diff)
gtk_narrative_view_redraw: also re-wrap the text
-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 2425092..427b637 100644
--- a/libstorycode/gtk/gtknarrativeview.c
+++ b/libstorycode/gtk/gtknarrativeview.c
@@ -1228,6 +1228,7 @@ void gtk_narrative_view_add_slide_at_cursor(GtkNarrativeView *e)
extern void gtk_narrative_view_redraw(GtkNarrativeView *e)
{
+ rewrap_range(e, 0, e->n->n_items);
emit_change_sig(e);
redraw(e);
}