diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-04-27 11:31:20 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-04-27 11:31:20 +0000 |
commit | a77e3c821bba704ddf8852fc7631e09e45bbdac1 (patch) | |
tree | aeeea3ad970daaba0a132f23cdc14495f502a73e | |
parent | 88be1a799fa4bf26fd085aa1b957b818e0e43ea3 (diff) |
fix from Audun for automation track width/span problems
git-svn-id: svn://localhost/ardour2/trunk@1758 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | gtk2_ardour/automation_time_axis.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/automation_time_axis.cc b/gtk2_ardour/automation_time_axis.cc index e9657e1f4f..12998ee7d6 100644 --- a/gtk2_ardour/automation_time_axis.cc +++ b/gtk2_ardour/automation_time_axis.cc @@ -73,7 +73,7 @@ AutomationTimeAxisView::AutomationTimeAxisView (Session& s, boost::shared_ptr<Ro base_rect = new SimpleRect(*canvas_display); base_rect->property_x1() = 0.0; base_rect->property_y1() = 0.0; - base_rect->property_x2() = max_frames; + base_rect->property_x2() = editor.frame_to_pixel (max_frames); base_rect->property_outline_color_rgba() = color_map[cAutomationTrackOutline]; /* outline ends and bottom */ base_rect->property_outline_what() = (guint32) (0x1|0x2|0x8); |