diff options
author | Robin Gareus <robin@gareus.org> | 2014-05-29 05:30:13 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-05-29 05:30:13 +0200 |
commit | 604abffeb5f4b4682382d7f859f49d151ed1446a (patch) | |
tree | ce6850b0269a49df9a5587d8f504fa5983c8c5f4 /libs/canvas/xfade_curve.cc | |
parent | 86e7d86089098347d67cf59284576414609c864c (diff) |
fix prev commit
Diffstat (limited to 'libs/canvas/xfade_curve.cc')
-rw-r--r-- | libs/canvas/xfade_curve.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/canvas/xfade_curve.cc b/libs/canvas/xfade_curve.cc index 90871fb6d9..d137cf6cbc 100644 --- a/libs/canvas/xfade_curve.cc +++ b/libs/canvas/xfade_curve.cc @@ -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 (); } |