summaryrefslogtreecommitdiff
path: root/gtk2_ardour/midi_region_view.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-04-08 20:25:05 +0200
committerRobin Gareus <robin@gareus.org>2019-04-08 20:57:56 +0200
commit8a7e452265ca079aafe8fa6dce58ed54ca7fe824 (patch)
tree8ed4ddfeba55c683ccb8bbb367913306be90cac5 /gtk2_ardour/midi_region_view.cc
parentf9e12235c3cba154a5c1a88a647bf1a1531fb1f3 (diff)
Yet another "Rect frame" (not a sample)
Diffstat (limited to 'gtk2_ardour/midi_region_view.cc')
-rw-r--r--gtk2_ardour/midi_region_view.cc16
1 files changed, 8 insertions, 8 deletions
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();
}
}