diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2013-07-25 09:58:54 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2013-07-25 09:59:14 +0200 |
commit | dcf221639845ddcabc76eb0a4da1cd347a646c1b (patch) | |
tree | d6f3367c0d046d3a5791f88c7e8ae0d58a26289b | |
parent | ff4b7393b0fa829e5829a14aa5fbcf098693d417 (diff) | |
download | uca-dcf221639845ddcabc76eb0a4da1cd347a646c1b.tar.gz uca-dcf221639845ddcabc76eb0a4da1cd347a646c1b.tar.bz2 uca-dcf221639845ddcabc76eb0a4da1cd347a646c1b.tar.xz uca-dcf221639845ddcabc76eb0a4da1cd347a646c1b.zip |
Fix preview when changing zoom
-rw-r--r-- | bin/gui/control.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/gui/control.c b/bin/gui/control.c index d26f0ab..75752cc 100644 --- a/bin/gui/control.c +++ b/bin/gui/control.c @@ -622,6 +622,9 @@ on_zoom_changed (GtkComboBox *widget, ThreadData *data) data->zoom_factor = factor; update_pixbuf_dimensions (data); + + convert_grayscale_to_rgb (data, ring_buffer_get_current_pointer (data->buffer)); + update_pixbuf (data); } static void |