aboutsummaryrefslogtreecommitdiff
path: root/src/sc_editor.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2015-02-06 20:13:28 +0100
committerThomas White <taw@bitwiz.org.uk>2015-02-06 20:13:28 +0100
commit6fc77b5fadb23a4df86a3fee283f9b24446d0a26 (patch)
tree91aba7f5b217299a30cd46aecf210bf19a00046a /src/sc_editor.c
parentbe066d61d2162f22904d1687b09cbe0ae49ec8bf (diff)
Get rid of border in narrative window
Diffstat (limited to 'src/sc_editor.c')
-rw-r--r--src/sc_editor.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sc_editor.c b/src/sc_editor.c
index a6515c7..80c56dd 100644
--- a/src/sc_editor.c
+++ b/src/sc_editor.c
@@ -1415,6 +1415,8 @@ void sc_editor_set_size(SCEditor *e, int w, int h)
e->w = w;
e->h = h;
update_size_request(e);
+ rerender(e);
+ redraw_editor(e);
}
@@ -1422,6 +1424,8 @@ void sc_editor_set_logical_size(SCEditor *e, double w, double h)
{
e->log_w = w;
e->log_h = h;
+ rerender(e);
+ redraw_editor(e);
}