If a MidiView handles a canvas event, do not propagate it to the EditingContext

This commit is contained in:
Paul Davis 2025-03-06 17:10:49 -07:00
parent 2cadaafc4f
commit 3df9673b0b

View file

@ -118,7 +118,9 @@ PianorollMidiView::midi_canvas_group_event (GdkEvent* ev)
{
/* Let MidiView do its thing */
MidiView::midi_canvas_group_event (ev);
if (MidiView::midi_canvas_group_event (ev)) {
return true;
}
return _editing_context.canvas_bg_event (ev, event_rect);
}