port cairo ARGB/BGRA -> pixbuf RGBA patch from recent 2.X commit (restores text on...
[ardour.git] / gtk2_ardour / crossfade_view.cc
index f77f8db44283cfb906b6f84cef307afb8da6798a..bc8521dbc2c44c72fb5e33207ac54987230fb479 100644 (file)
@@ -52,7 +52,7 @@ CrossfadeView::CrossfadeView (ArdourCanvas::Group *parent,
 
 
        : TimeAxisViewItem ("xfade" /*xf.name()*/, *parent, tv, spu, basic_color, xf->position(),
-                           xf->length(), false, TimeAxisViewItem::Visibility (TimeAxisViewItem::ShowFrame)),
+                           xf->length(), false, false, TimeAxisViewItem::Visibility (TimeAxisViewItem::ShowFrame)),
          crossfade (xf),
          left_view (lview),
          right_view (rview)    
@@ -185,7 +185,7 @@ CrossfadeView::redraw_curves ()
                p.set_x (i + 1);
                p.set_y (_height - ((_height - 2) * vec[i]));
        }
-       
+
        fade_in->property_points() = *points;
 
        crossfade->fade_out().curve().get_vector (0, crossfade->length(), vec, npoints);
@@ -246,8 +246,9 @@ CrossfadeView::upper_regionview () const
 void
 CrossfadeView::show ()
 {
-       group->show();
        _visible = true;
+       group->show();
+       redraw_curves ();
 }
 
 void