lib/rabbit/renderer/display/drawing-area-base.rb in rabbit-2.1.9 vs lib/rabbit/renderer/display/drawing-area-base.rb in rabbit-2.2.0
- old
+ new
@@ -266,9 +266,10 @@
event_mask = Gdk::EventMask::BUTTON_PRESS_MASK
event_mask |= Gdk::EventMask::BUTTON_RELEASE_MASK
event_mask |= Gdk::EventMask::BUTTON1_MOTION_MASK
event_mask |= Gdk::EventMask::BUTTON2_MOTION_MASK
event_mask |= Gdk::EventMask::BUTTON3_MOTION_MASK
+ event_mask |= Gdk::EventMask::SCROLL_MASK
@area.add_events(event_mask)
set_key_press_event(@area)
set_button_event(@area)
set_motion_notify_event
set_scroll_event(@area)