Midi Region: pass unhandled scroll events to regionview

see note in MidiRegionView:📜 “allow PrimaryModifier scroll
through so that it still works for zoom.”
This commit is contained in:
Robin Gareus 2014-10-21 11:01:28 +02:00
parent fbaae45eb1
commit a9532179d5

View File

@ -342,7 +342,10 @@ MidiRegionView::canvas_group_event(GdkEvent* ev)
switch (ev->type) {
case GDK_SCROLL:
return scroll (&ev->scroll);
if (scroll (&ev->scroll)) {
return true;
}
break;
case GDK_KEY_PRESS:
return key_press (&ev->key);