diff options
author | Thomas White <taw@physics.org> | 2020-03-04 16:30:13 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-07-29 18:42:24 +0200 |
commit | fb1a14fdca970955b02720dd3b038262e8ef6848 (patch) | |
tree | 6cc185c2f6edce98d62efcdc546140c00f93308d /src/crystfelimageview.c | |
parent | c03970d68cf1af4813866eea942fd7aa1a42f5b3 (diff) |
Ignore left and right scroll directions
Diffstat (limited to 'src/crystfelimageview.c')
-rw-r--r-- | src/crystfelimageview.c | 2 |
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 ) { |