From 8a7e452265ca079aafe8fa6dce58ed54ca7fe824 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 8 Apr 2019 20:25:05 +0200 Subject: Yet another "Rect frame" (not a sample) --- gtk2_ardour/midi_region_view.cc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'gtk2_ardour/midi_region_view.cc') diff --git a/gtk2_ardour/midi_region_view.cc b/gtk2_ardour/midi_region_view.cc index e1a30599d9..fc1b525e18 100644 --- a/gtk2_ardour/midi_region_view.cc +++ b/gtk2_ardour/midi_region_view.cc @@ -465,11 +465,11 @@ MidiRegionView::enter_internal (uint32_t state) } // Lower sample handles below notes so they don't steal events - if (sample_handle_start) { - sample_handle_start->lower_to_bottom(); + if (frame_handle_start) { + frame_handle_start->lower_to_bottom(); } - if (sample_handle_end) { - sample_handle_end->lower_to_bottom(); + if (frame_handle_end) { + frame_handle_end->lower_to_bottom(); } } @@ -486,11 +486,11 @@ MidiRegionView::leave_internal() } // Raise sample handles above notes so they catch events - if (sample_handle_start) { - sample_handle_start->raise_to_top(); + if (frame_handle_start) { + frame_handle_start->raise_to_top(); } - if (sample_handle_end) { - sample_handle_end->raise_to_top(); + if (frame_handle_end) { + frame_handle_end->raise_to_top(); } } -- cgit v1.2.3