aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-02-26 10:47:51 +0100
committerThomas White <taw@physics.org>2021-02-26 10:47:51 +0100
commit287cea3cb2bbb0df81802c3009fec1e9528dde95 (patch)
tree35df7bfdcec9ef963b4111f5ef2cd5f1f4788d57 /src
parentf1fac55c2023bb0b99a5111167d98565badf48c5 (diff)
CrystFELImageView: Set need_recentre at start
Diffstat (limited to 'src')
-rw-r--r--src/crystfelimageview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crystfelimageview.c b/src/crystfelimageview.c
index 31309d56..7bf617e9 100644
--- a/src/crystfelimageview.c
+++ b/src/crystfelimageview.c
@@ -739,7 +739,7 @@ GtkWidget *crystfel_image_view_new()
iv->refl_box_size = 1.0;
iv->label_refls = 1;
iv->need_rerender = 0;
- iv->need_recentre = 0;
+ iv->need_recentre = 1;
g_signal_connect(G_OBJECT(iv), "destroy",
G_CALLBACK(destroy_sig), iv);