diff options
author | Thomas White <taw@bitwiz.org.uk> | 2013-08-13 22:35:20 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2013-08-13 22:35:20 +0200 |
commit | 2b9ce018705558f725b7afca00ed714b3582e514 (patch) | |
tree | 44505aaffcaa3090d78c5deda1ef96bdb1e97e30 /src | |
parent | 3377fc913c4cf79967a3ca7a4253c9030b3e5067 (diff) |
Always render editor view last
Diffstat (limited to 'src')
-rw-r--r-- | src/mainwindow.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c index 9375463..a4e6672 100644 --- a/src/mainwindow.c +++ b/src/mainwindow.c @@ -49,16 +49,16 @@ void rerender_slide(struct presentation *p) free_render_buffers(s); s->rendered_thumb = render_slide(s, s->parent->thumb_slide_width, - p->slide_width, p->slide_height, p->is, - ISZ_THUMBNAIL); - - s->rendered_edit = render_slide(s, s->parent->edit_slide_width, - p->slide_width, p->slide_height, p->is, - ISZ_EDITOR); + p->slide_width, p->slide_height, p->is, + ISZ_THUMBNAIL); s->rendered_proj = render_slide(s, s->parent->proj_slide_width, - p->slide_width, p->slide_height, p->is, - ISZ_SLIDESHOW); + p->slide_width, p->slide_height, p->is, + ISZ_SLIDESHOW); + + s->rendered_edit = render_slide(s, s->parent->edit_slide_width, + p->slide_width, p->slide_height, p->is, + ISZ_EDITOR); } @@ -67,17 +67,17 @@ static void render_edit_and_proj(struct presentation *p) { struct slide *s = p->cur_edit_slide; - if ( s->rendered_edit == NULL ) { - s->rendered_edit = render_slide(s, s->parent->edit_slide_width, - p->slide_width, p->slide_height, - p->is, ISZ_EDITOR); - } - if ( s->rendered_proj == NULL ) { s->rendered_proj = render_slide(s, s->parent->proj_slide_width, p->slide_width, p->slide_height, p->is, ISZ_SLIDESHOW); } + + if ( s->rendered_edit == NULL ) { + s->rendered_edit = render_slide(s, s->parent->edit_slide_width, + p->slide_width, p->slide_height, + p->is, ISZ_EDITOR); + } } |