Let modified wheel events scroll the view
This commit is contained in:
parent
1dce2e079c
commit
37adaac965
|
@ -269,6 +269,8 @@ fastiv_view_scroll_event(GtkWidget *widget, GdkEventScroll *event)
|
||||||
FastivView *self = FASTIV_VIEW(widget);
|
FastivView *self = FASTIV_VIEW(widget);
|
||||||
if (!self->surface)
|
if (!self->surface)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
if (event->state & gtk_accelerator_get_default_mod_mask())
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
switch (event->direction) {
|
switch (event->direction) {
|
||||||
case GDK_SCROLL_UP:
|
case GDK_SCROLL_UP:
|
||||||
|
|
Loading…
Reference in New Issue