diff options
Diffstat (limited to 'src/display/sodipodi-ctrlrect.cpp')
| -rw-r--r-- | src/display/sodipodi-ctrlrect.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/display/sodipodi-ctrlrect.cpp b/src/display/sodipodi-ctrlrect.cpp index b27a81ab3..075e04e6d 100644 --- a/src/display/sodipodi-ctrlrect.cpp +++ b/src/display/sodipodi-ctrlrect.cpp @@ -124,7 +124,8 @@ void CtrlRect::render(SPCanvasBuf *buf) if (_shadow_width > 0 && !_dashed) { // Offset by half stroke width (_shadow_width is in window coordinates). - Geom::Point shadow( _shadow_width/2.0, _shadow_width/2.0 ); + // Need to handle change in handedness with flips. + Geom::Point shadow( _shadow_width/2.0, (_affine.det()>0?-1:1)*_shadow_width/2.0 ); shadow *= Geom::Rotate( rotation ); if (axis_aligned) { |
