From 901574eaaae62bd3aea8a06043ca438d3a5db882 Mon Sep 17 00:00:00 2001 From: paul Date: Thu, 21 Apr 2011 22:10:38 +0000 Subject: [PATCH] fix height of shuttle control marker line git-svn-id: http://subversion.ardour.org/svn/ardour2/ardour2/branches/3.0@9405 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/shuttle_control.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/shuttle_control.cc b/gtk2_ardour/shuttle_control.cc index c29da519b..357094959 100644 --- a/gtk2_ardour/shuttle_control.cc +++ b/gtk2_ardour/shuttle_control.cc @@ -444,9 +444,9 @@ ShuttleControl::on_expose_event (GdkEventExpose* event) double visual_fraction = std::min (1.0f, speed/shuttle_max_speed); double x = (get_width() / 2.0) + (0.5 * (get_width() * visual_fraction)); - cairo_move_to (cr, x, 0); + cairo_move_to (cr, x, 1); cairo_set_source_rgb (cr, 1.0, 1.0, 1.0); - cairo_line_to (cr, x, get_height()); + cairo_line_to (cr, x, get_height()-1); cairo_stroke (cr); /* speed text */ -- 2.11.4.GIT