Skip to content

Commit bba7c95

Browse files
committed
missing mask for scroll event
1 parent 8115e68 commit bba7c95

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/matplotlib/backends/backend_gtk3.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,8 @@ class FigureCanvasGTK3 (Gtk.DrawingArea, FigureCanvasBase):
178178
Gdk.EventMask.ENTER_NOTIFY_MASK |
179179
Gdk.EventMask.LEAVE_NOTIFY_MASK |
180180
Gdk.EventMask.POINTER_MOTION_MASK |
181-
Gdk.EventMask.POINTER_MOTION_HINT_MASK)
181+
Gdk.EventMask.POINTER_MOTION_HINT_MASK|
182+
Gdk.EventMask.SCROLL_MASK)
182183

183184
def __init__(self, figure):
184185
if _debug: print('FigureCanvasGTK3.%s' % fn_name())

0 commit comments

Comments
 (0)