From beb5e3e777b0e92e8dde7ee12c324b32c679ff63 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 3 Sep 2014 19:58:33 +0200 Subject: cont'd work on automation-track headers (amend ba53af1c5) now that the separator line is at the top, offset region-contents y0 by 1px. --- gtk2_ardour/time_axis_view_item.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gtk2_ardour/time_axis_view_item.cc') diff --git a/gtk2_ardour/time_axis_view_item.cc b/gtk2_ardour/time_axis_view_item.cc index 74651f67f6..a2e38c1559 100644 --- a/gtk2_ardour/time_axis_view_item.cc +++ b/gtk2_ardour/time_axis_view_item.cc @@ -166,6 +166,7 @@ TimeAxisViewItem::init (ArdourCanvas::Item* parent, double fpp, uint32_t base_co group = new ArdourCanvas::Container (parent); CANVAS_DEBUG_NAME (group, string_compose ("TAVI group for %1", get_item_name())); group->Event.connect (sigc::mem_fun (*this, &TimeAxisViewItem::canvas_group_event)); + group->set_y_position (1); fill_color = base_color; samples_per_pixel = fpp; @@ -1018,7 +1019,7 @@ TimeAxisViewItem::idle_remove_this_item(TimeAxisViewItem* item, void* src) void TimeAxisViewItem::set_y (double y) { - group->set_y_position (y); + group->set_y_position (y + 1); } void -- cgit v1.2.3