avoid 1 pixel overlap of end xfade
authorPaul Davis <paul@linuxaudiosystems.com>
Wed, 8 Jan 2014 03:51:41 +0000 (22:51 -0500)
committerPaul Davis <paul@linuxaudiosystems.com>
Wed, 8 Jan 2014 03:51:41 +0000 (22:51 -0500)
gtk2_ardour/audio_region_view.cc

index 217c7e8ff0ce68766a3be4050bf28a9c2f889400..96b9bf282da1cd1026fa210e8f4b8590d9e24ed6 100644 (file)
@@ -665,7 +665,7 @@ AudioRegionView::reset_fade_out_shape_width (boost::shared_ptr<AudioRegion> ar,
 
        /* draw the line */
 
-       redraw_end_xfade_to (ar, width, points, effective_height, handle_right+1, pwidth-1);
+       redraw_end_xfade_to (ar, width, points, effective_height, handle_right+1, pwidth-2);
 
        // fade_out_shape->set (points);