fix height of shuttle control marker line

git-svn-id: svn://localhost/ardour2/branches/3.0@9405 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-04-21 22:10:38 +00:00
parent 509cd57c74
commit 12bb5b6207

View file

@ -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 */