aboutsummaryrefslogtreecommitdiff
path: root/src/crystfelimageview.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-03-04 16:30:13 +0100
committerThomas White <taw@physics.org>2020-07-29 18:42:24 +0200
commitfb1a14fdca970955b02720dd3b038262e8ef6848 (patch)
tree6cc185c2f6edce98d62efcdc546140c00f93308d /src/crystfelimageview.c
parentc03970d68cf1af4813866eea942fd7aa1a42f5b3 (diff)
Ignore left and right scroll directions
Diffstat (limited to 'src/crystfelimageview.c')
-rw-r--r--src/crystfelimageview.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/crystfelimageview.c b/src/crystfelimageview.c
index a50fc93b..3bfd7ce4 100644
--- a/src/crystfelimageview.c
+++ b/src/crystfelimageview.c
@@ -140,6 +140,8 @@ static gint scroll_sig(GtkWidget *window, GdkEventScroll *event,
zoom_scale = 0.9;
claim = TRUE;
}
+ if ( event->direction == GDK_SCROLL_LEFT ) return TRUE;
+ if ( event->direction == GDK_SCROLL_RIGHT ) return TRUE;
if ( claim ) {