13
0

allow to drag gain-envelope points

This commit is contained in:
Robin Gareus 2015-03-08 20:18:50 +01:00
parent ba8b91679a
commit 90110c4308

View File

@ -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 ) { 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->set_visibility (AutomationLine::VisibleAspects(AutomationLine::ControlPoints|AutomationLine::Line));
gain_line->canvas_group().raise_to_top ();
} else { } else {
gain_line->set_visibility (AutomationLine::VisibleAspects(0)); gain_line->set_visibility (AutomationLine::VisibleAspects(0));
} }