From f25f965e3d06187964447991d566bd93de1b80c3 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 24 Sep 2014 13:00:56 -0400 Subject: [PATCH] make sure vertical line on single-position Marker is visible at creation --- gtk2_ardour/marker.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/marker.cc b/gtk2_ardour/marker.cc index 9b9bf8fffc..20787cdad1 100644 --- a/gtk2_ardour/marker.cc +++ b/gtk2_ardour/marker.cc @@ -311,6 +311,7 @@ Marker::Marker (ARDOUR::Location* l, PublicEditor& ed, ArdourCanvas::Container& } set_name (annotation); + setup_line (); pick_basic_color (rgba); use_color (); @@ -445,7 +446,7 @@ Marker::setup_line () g.y = h.y; ArdourCanvas::Duple d = _start_line->canvas_to_item (g); - + _start_line->set_y0 (d.y); /* bottom of marker, in the right coordinate system */ _start_line->set_x0 (d.x); _start_line->set_x1 (d.x);