mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-20 05:36:31 +01:00
change placement of ruler divider so that the lower line is at the specified height, rather than the upper
This commit is contained in:
parent
ed1a465960
commit
ee49c0a0c2
1 changed files with 4 additions and 4 deletions
|
|
@ -195,13 +195,13 @@ Ruler::render (Rect const & area, Cairo::RefPtr<Cairo::Context> cr) const
|
|||
cr->set_line_width (1.0);
|
||||
|
||||
set_source_rgba (cr, _divider_color_top);
|
||||
cr->move_to (self.x0, self.y0 + _divide_height+0.5);
|
||||
cr->line_to (self.x1, self.y0 + _divide_height+0.5);
|
||||
cr->move_to (self.x0, self.y0 + _divide_height-1.0+0.5);
|
||||
cr->line_to (self.x1, self.y0 + _divide_height-1.0+0.5);
|
||||
cr->stroke ();
|
||||
|
||||
set_source_rgba (cr, _divider_color_bottom);
|
||||
cr->move_to (self.x0, self.y0 + _divide_height+1.5);
|
||||
cr->line_to (self.x1, self.y0 + _divide_height+1.5);
|
||||
cr->move_to (self.x0, self.y0 + _divide_height+0.5);
|
||||
cr->line_to (self.x1, self.y0 + _divide_height+0.5);
|
||||
cr->stroke ();
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue