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:
parent
fbaae45eb1
commit
a9532179d5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user