Fix zooming with mouse wheel

This commit is contained in:
Přemysl Eric Janouch 2015-01-20 08:03:02 +01:00
parent fb6f89fb5c
commit a7f869b707
1 changed files with 1 additions and 1 deletions

View File

@ -558,7 +558,7 @@ ld_diagram_view_init (LdDiagramView *self)
gtk_widget_add_events (GTK_WIDGET (self),
GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK
| GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK
| GDK_LEAVE_NOTIFY_MASK);
| GDK_SCROLL_MASK | GDK_LEAVE_NOTIFY_MASK);
gtk_drag_dest_set (GTK_WIDGET (self), 0, &target, 1, GDK_ACTION_COPY);
}