Fix another mysterious GTK+ issue

This commit is contained in:
Přemysl Eric Janouch 2021-11-21 23:27:30 +01:00
parent a8796512d2
commit c4dead2eee
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

@ -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;
}
}