if an xfade involves only 2 regions, clamp its length to the overlap between them

git-svn-id: svn://localhost/ardour2/branches/3.0@12238 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-05-10 12:14:26 +00:00
parent bed955b409
commit da7215e1ad
4 changed files with 63 additions and 9 deletions

View file

@ -978,7 +978,6 @@ class CrossfadeEdgeDrag : public Drag
{
public:
CrossfadeEdgeDrag (Editor*, AudioRegionView*, ArdourCanvas::Item*, bool start);
~CrossfadeEdgeDrag ();
void start_grab (GdkEvent*, Gdk::Cursor* c = 0);
void motion (GdkEvent*, bool);