mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
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:
parent
509cd57c74
commit
12bb5b6207
1 changed files with 2 additions and 2 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue