aboutsummaryrefslogtreecommitdiff
path: root/src/crystfel_gui.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2022-11-23 16:53:24 +0100
committerThomas White <taw@physics.org>2022-11-24 15:29:05 +0100
commitacb2e3cb545b64fe94f399e18ae91577ffcac6d0 (patch)
treed02963936ede570e68d45e7a01f1f26fec087476 /src/crystfel_gui.c
parentfb3b7046644010bb3511e69f622081bbbc5b76db (diff)
GUI: Colour scale, part 2: Scrolling and zooming
Diffstat (limited to 'src/crystfel_gui.c')
-rw-r--r--src/crystfel_gui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/crystfel_gui.c b/src/crystfel_gui.c
index 4ac9fd86..81f563a8 100644
--- a/src/crystfel_gui.c
+++ b/src/crystfel_gui.c
@@ -282,6 +282,7 @@ void update_imageview(struct crystfelproject *proj)
crystfel_colour_scale_scan_image(CRYSTFEL_COLOUR_SCALE(proj->colscale),
proj->cur_image);
+ crystfel_colour_scale_auto_range(CRYSTFEL_COLOUR_SCALE(proj->colscale));
gtk_widget_set_sensitive(proj->next_button,
!(proj->cur_frame == proj->n_frames-1));