diff options
Diffstat (limited to 'src/sc_editor.c')
-rw-r--r-- | src/sc_editor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sc_editor.c b/src/sc_editor.c index 9b81980..1658122 100644 --- a/src/sc_editor.c +++ b/src/sc_editor.c @@ -98,7 +98,7 @@ static void update_size(SCEditor *e) { if ( e->flow ) { e->w = e->top->w; - e->h = total_height(e->top); + e->h = total_height(e->top) + e->top->pad_t + e->top->pad_b; e->log_w = e->w; e->log_h = e->h; e->top->h = e->h; |