move zoom controls down to lower left
[ardour.git] / gtk2_ardour / crossfade_view.cc
index 42a1a47227b4c0b6049b9d9c421e9c8bb12367a1..3c3ef4ff91315b910d098a310e9546d6c2313532 100644 (file)
@@ -52,7 +52,7 @@ CrossfadeView::CrossfadeView (ArdourCanvas::Group *parent,
                              
 
        : TimeAxisViewItem ("xfade" /*xf.name()*/, *parent, tv, spu, basic_color, xf.position(), 
-                           xf.overlap_length(), TimeAxisViewItem::Visibility (TimeAxisViewItem::ShowFrame)),
+                           xf.length(), TimeAxisViewItem::Visibility (TimeAxisViewItem::ShowFrame)),
          crossfade (xf),
          left_view (lview),
          right_view (rview)
@@ -89,7 +89,7 @@ CrossfadeView::CrossfadeView (ArdourCanvas::Group *parent,
 
 CrossfadeView::~CrossfadeView ()
 {
-        GoingAway (this) ; /* EMIT_SIGNAL */
+       GoingAway (this) ; /* EMIT_SIGNAL */
 }
 
 void
@@ -124,7 +124,7 @@ CrossfadeView::crossfade_changed (Change what_changed)
 
        if (what_changed & BoundsChanged) {
                set_position (crossfade.position(), this);
-               set_duration (crossfade.overlap_length(), this);
+               set_duration (crossfade.length(), this);
                need_redraw_curves = true;
        }