aboutsummaryrefslogtreecommitdiff
path: root/src/crystfelimageview.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-10-25 17:59:37 +0200
committerThomas White <taw@physics.org>2021-10-25 17:59:37 +0200
commit40ed4e6a72fd70c487aaafb58bc4c74cfaa6bfa8 (patch)
treee0dd78fba87ced09a2fbf0f9b371ebb606d5aec3 /src/crystfelimageview.h
parenta99dec5f78e36c6659306c3a063a47b13e69b233 (diff)
CrystFELImageView: fix scrollbar adjustment ranges
Fixes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/18
Diffstat (limited to 'src/crystfelimageview.h')
-rw-r--r--src/crystfelimageview.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crystfelimageview.h b/src/crystfelimageview.h
index 7d3ac1f6..c53e4980 100644
--- a/src/crystfelimageview.h
+++ b/src/crystfelimageview.h
@@ -80,8 +80,8 @@ struct _crystfelimageview
double drag_start_y;
double drag_start_sp_x;
double drag_start_sp_y;
- double offs_x;
- double offs_y;
+ double min_x;
+ double max_y;
const struct image *image;