mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
fix prev commit
This commit is contained in:
parent
86e7d86089
commit
604abffeb5
2 changed files with 6 additions and 0 deletions
|
|
@ -198,6 +198,9 @@ Curve::render (Rect const & area, Cairo::RefPtr<Cairo::Context> context) const
|
||||||
last_y = round(window_space.y);
|
last_y = round(window_space.y);
|
||||||
context->line_to (last_x - .5 , last_y + .5);
|
context->line_to (last_x - .5 , last_y + .5);
|
||||||
}
|
}
|
||||||
|
if (last_x != round(window_space.x) || last_y != round(window_space.y)) {
|
||||||
|
context->line_to (window_space.x - .5 , window_space.y + .5);
|
||||||
|
}
|
||||||
|
|
||||||
switch (curve_fill) {
|
switch (curve_fill) {
|
||||||
case None:
|
case None:
|
||||||
|
|
|
||||||
|
|
@ -174,6 +174,9 @@ XFadeCurve::get_path(Rect const & area, Cairo::RefPtr<Cairo::Context> context, C
|
||||||
last_y = round(window_space.y);
|
last_y = round(window_space.y);
|
||||||
context->line_to (last_x - .5 , last_y + .5);
|
context->line_to (last_x - .5 , last_y + .5);
|
||||||
}
|
}
|
||||||
|
if (last_x != round(window_space.x) || last_y != round(window_space.y)) {
|
||||||
|
context->line_to (window_space.x - .5 , window_space.y + .5);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return context->copy_path ();
|
return context->copy_path ();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue