ensure that GDK events arriving in a PianorollMidiView use a local tempo scope if appropriate

This commit is contained in:
Paul Davis 2025-09-11 15:09:27 -06:00
parent 77bc293aee
commit e7bc6624d9

View file

@ -119,6 +119,8 @@ PianorollMidiView::~PianorollMidiView ()
bool bool
PianorollMidiView::midi_canvas_group_event (GdkEvent* ev) PianorollMidiView::midi_canvas_group_event (GdkEvent* ev)
{ {
EC_LOCAL_TEMPO_SCOPE_ARG (_editing_context);
/* Let MidiView do its thing */ /* Let MidiView do its thing */
if (MidiView::midi_canvas_group_event (ev)) { if (MidiView::midi_canvas_group_event (ev)) {