diff --git a/src/svg/SVGExport.js b/src/svg/SVGExport.js index 34a6aa5c..1aed2571 100644 --- a/src/svg/SVGExport.js +++ b/src/svg/SVGExport.js @@ -65,11 +65,11 @@ new function() { scale = decomposed.scaling; if (trans && !trans.isZero()) parts.push('translate(' + formatter.point(trans) + ')'); - if (angle) - parts.push('rotate(' + formatter.number(angle) + ')'); if (!Numerical.isZero(scale.x - 1) || !Numerical.isZero(scale.y - 1)) parts.push('scale(' + formatter.point(scale) +')'); + if (angle) + parts.push('rotate(' + formatter.number(angle) + ')'); attrs.transform = parts.join(' '); } else { attrs.transform = 'matrix(' + matrix.getValues().join(',') + ')';