aboutsummaryrefslogtreecommitdiff
path: root/fastiv-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'fastiv-view.c')
-rw-r--r--fastiv-view.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fastiv-view.c b/fastiv-view.c
index 5ecb85f..4efb8be 100644
--- a/fastiv-view.c
+++ b/fastiv-view.c
@@ -313,7 +313,9 @@ fastiv_view_scroll_event(GtkWidget *widget, GdkEventScroll *event)
case GDK_SCROLL_DOWN:
return set_scale(self, self->scale / SCALE_STEP);
default:
- return FALSE;
+ // For some reason, we can also get GDK_SCROLL_SMOOTH.
+ // Left/right are good to steal from GtkScrolledWindow for consistency.
+ return TRUE;
}
}