summaryrefslogtreecommitdiff
path: root/gtk2_ardour/streamview.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-09-03 19:58:33 +0200
committerRobin Gareus <robin@gareus.org>2014-09-03 20:48:20 +0200
commitbeb5e3e777b0e92e8dde7ee12c324b32c679ff63 (patch)
tree4e805fb856a579f6eeff5e5f6f933e379e7e7187 /gtk2_ardour/streamview.cc
parent0ea1238479c9692a2b212cc226b783dce4f1e3c6 (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/streamview.cc')
-rw-r--r--gtk2_ardour/streamview.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/streamview.cc b/gtk2_ardour/streamview.cc
index 9eecc80dd7..a6a4b5d007 100644
--- a/gtk2_ardour/streamview.cc
+++ b/gtk2_ardour/streamview.cc
@@ -72,7 +72,7 @@ StreamView::StreamView (RouteTimeAxisView& tv, ArdourCanvas::Container* canvas_g
canvas_rect = new ArdourCanvas::Rectangle (_canvas_group);
CANVAS_DEBUG_NAME (canvas_rect, string_compose ("SV canvas rectangle %1", _trackview.name()));
canvas_rect->set (ArdourCanvas::Rect (0, 0, ArdourCanvas::COORD_MAX, tv.current_height ()));
- canvas_rect->set_outline_what (ArdourCanvas::Rectangle::BOTTOM);
+ canvas_rect->set_outline_what (ArdourCanvas::Rectangle::TOP);
canvas_rect->set_outline_color (RGBA_TO_UINT (0, 0, 0, 255));
canvas_rect->set_fill (true);
canvas_rect->Event.connect (sigc::bind (sigc::mem_fun (_trackview.editor(), &PublicEditor::canvas_stream_view_event), canvas_rect, &_trackview));
@@ -608,7 +608,7 @@ StreamView::update_contents_height ()
case Stacked:
case Expanded:
/* In stacked displays, the recregion is always at the top */
- i->rectangle->set_y0 (0);
+ i->rectangle->set_y0 (1);
i->rectangle->set_y1 (h);
break;
}