From 90110c4308060f6aafe8201932a4c77496bf889d Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 8 Mar 2015 20:18:50 +0100 Subject: [PATCH] allow to drag gain-envelope points --- gtk2_ardour/audio_region_view.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk2_ardour/audio_region_view.cc b/gtk2_ardour/audio_region_view.cc index f0330077c1..cb7b2015de 100644 --- a/gtk2_ardour/audio_region_view.cc +++ b/gtk2_ardour/audio_region_view.cc @@ -1052,6 +1052,8 @@ AudioRegionView::update_envelope_visibility () if (ARDOUR_UI::config()->get_show_region_gain() || trackview.editor().current_mouse_mode() == Editing::MouseDraw || trackview.editor().current_mouse_mode() == Editing::MouseRange ) { gain_line->set_visibility (AutomationLine::VisibleAspects(AutomationLine::ControlPoints|AutomationLine::Line)); + gain_line->canvas_group().raise_to_top (); + } else { gain_line->set_visibility (AutomationLine::VisibleAspects(0)); }