summaryrefslogtreecommitdiff
path: root/gtk2_ardour/shuttle_control.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-04-21 22:10:38 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-04-21 22:10:38 +0000
commit12bb5b62071e25168922ef0fe27f23493bed05db (patch)
tree2350c194822ff4bffecf70e9484d21f366da4de1 /gtk2_ardour/shuttle_control.cc
parent509cd57c74ad386267f6df371acd04d17569336c (diff)
fix height of shuttle control marker line
git-svn-id: svn://localhost/ardour2/branches/3.0@9405 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/shuttle_control.cc')
-rw-r--r--gtk2_ardour/shuttle_control.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/shuttle_control.cc b/gtk2_ardour/shuttle_control.cc
index c29da519b6..357094959c 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 */