summaryrefslogtreecommitdiff
path: root/gtk2_ardour/streamview.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2006-11-11 00:14:12 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2006-11-11 00:14:12 +0000
commit90263f9a6dcec5de1bf6cd305d194118333a81ef (patch)
treeca717fa0e45e0260746d06e2f1a991528d58dde9 /gtk2_ardour/streamview.cc
parenta23fccdd3a4cc0b5a8e7452ecc1244a11c23dc1e (diff)
fix visual focus indication in IOSelector; import pays attention to audio file embedded position; peaks now built properly for embedded/imported files
git-svn-id: svn://localhost/ardour2/trunk@1104 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/streamview.cc')
-rw-r--r--gtk2_ardour/streamview.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/streamview.cc b/gtk2_ardour/streamview.cc
index 75fb003d77..04b5269ab0 100644
--- a/gtk2_ardour/streamview.cc
+++ b/gtk2_ardour/streamview.cc
@@ -62,7 +62,7 @@ StreamView::StreamView (RouteTimeAxisView& tv)
canvas_rect = new ArdourCanvas::SimpleRect (*canvas_group);
canvas_rect->property_x1() = 0.0;
canvas_rect->property_y1() = 0.0;
- canvas_rect->property_x2() = 1000000.0;
+ canvas_rect->property_x2() = _trackview.editor.frame_to_pixel (max_frames);
canvas_rect->property_y2() = (double) tv.height;
canvas_rect->property_outline_what() = (guint32) (0x1|0x2|0x8); // outline ends and bottom
// (Fill/Outline colours set in derived classes)