diff options
author | Robin Gareus <robin@gareus.org> | 2014-09-03 19:58:33 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-09-03 20:48:20 +0200 |
commit | beb5e3e777b0e92e8dde7ee12c324b32c679ff63 (patch) | |
tree | 4e805fb856a579f6eeff5e5f6f933e379e7e7187 /gtk2_ardour/time_axis_view_item.cc | |
parent | 0ea1238479c9692a2b212cc226b783dce4f1e3c6 (diff) |
cont'd work on automation-track headers (amend ba53af1c5)
now that the separator line is at the top,
offset region-contents y0 by 1px.
Diffstat (limited to 'gtk2_ardour/time_axis_view_item.cc')
-rw-r--r-- | gtk2_ardour/time_axis_view_item.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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 |