From def7f68f26fab55df8ac76050e554c8caf2efa75 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 23 May 2010 00:53:14 +0000 Subject: [PATCH] Fix canvas_rect positioning with automation tracks. May fix #3145. git-svn-id: svn://localhost/ardour2/branches/3.0@7140 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/streamview.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/streamview.cc b/gtk2_ardour/streamview.cc index 8fa9ed8d28..048a3d23db 100644 --- a/gtk2_ardour/streamview.cc +++ b/gtk2_ardour/streamview.cc @@ -63,7 +63,7 @@ StreamView::StreamView (RouteTimeAxisView& tv, ArdourCanvas::Group* group) { /* set_position() will position the group */ - canvas_rect = new ArdourCanvas::SimpleRect (*_background_group); + canvas_rect = new ArdourCanvas::SimpleRect (*canvas_group); canvas_rect->property_x1() = 0.0; canvas_rect->property_y1() = 0.0; canvas_rect->property_x2() = _trackview.editor().get_physical_screen_width ();