From 4e9992a3a1050759ac4414e123d9d69d73510104 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 18 Feb 2015 17:45:29 -0500 Subject: [PATCH] fix position of fade out --- gtk2_ardour/audio_region_view.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/audio_region_view.cc b/gtk2_ardour/audio_region_view.cc index 6d60b12a8c..3c660efeff 100644 --- a/gtk2_ardour/audio_region_view.cc +++ b/gtk2_ardour/audio_region_view.cc @@ -685,7 +685,7 @@ AudioRegionView::reset_fade_out_shape_width (boost::shared_ptr ar, points.assign (list->size(), Duple()); for (x = list->begin(), pi = 0; x != list->end(); ++x, ++pi) { - points[pi].x = 1.0 + _pixel_width - pwidth + (pwidth * ((*x)->when/length)); + points[pi].x = _pixel_width - pwidth + (pwidth * ((*x)->when/length)); points[pi].y = effective_height - ((*x)->value * effective_height) + TimeAxisViewItem::REGION_TOP_OFFSET + 1; }