diff options
author | David Robillard <d@drobilla.net> | 2009-10-23 20:17:41 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-10-23 20:17:41 +0000 |
commit | d2a11c8c02614c9cd9248fa17945923535110c98 (patch) | |
tree | 504c44f747361fc3ff1c0642c85e5876b28c172f /gtk2_ardour/automation_region_view.cc | |
parent | 9aee34c9c2cb045bc5b19899aa3ae2fe5792a8de (diff) |
Fix stacking of automation region views.
git-svn-id: svn://localhost/ardour2/branches/3.0@5896 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/automation_region_view.cc')
-rw-r--r-- | gtk2_ardour/automation_region_view.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/automation_region_view.cc b/gtk2_ardour/automation_region_view.cc index 4d8f61fed5..369d38dd27 100644 --- a/gtk2_ardour/automation_region_view.cc +++ b/gtk2_ardour/automation_region_view.cc @@ -43,6 +43,7 @@ AutomationRegionView::AutomationRegionView(ArdourCanvas::Group* } group->signal_event().connect (mem_fun (this, &AutomationRegionView::canvas_event), false); + group->raise_to_top(); } void @@ -73,9 +74,9 @@ AutomationRegionView::create_line (boost::shared_ptr<ARDOUR::AutomationList> lis trackview, *get_canvas_group(), list, &_time_converter)); _line->set_colors(); _line->set_interpolation(list->interpolation()); + _line->set_height ((uint32_t)rint(trackview.current_height() - NAME_HIGHLIGHT_SIZE)); _line->show(); _line->show_all_control_points(); - _line->set_height ((uint32_t)rint(trackview.current_height() - NAME_HIGHLIGHT_SIZE)); } bool |