fix prev commit
This commit is contained in:
parent
86e7d86089
commit
604abffeb5
@ -198,6 +198,9 @@ Curve::render (Rect const & area, Cairo::RefPtr<Cairo::Context> context) const
|
||||
last_y = round(window_space.y);
|
||||
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) {
|
||||
case None:
|
||||
|
@ -174,6 +174,9 @@ XFadeCurve::get_path(Rect const & area, Cairo::RefPtr<Cairo::Context> context, C
|
||||
last_y = round(window_space.y);
|
||||
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 ();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user