From 97ca1f6ff840ada380edb5799e4e24b671e48994 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Mon, 17 Aug 2015 14:19:31 +0200 Subject: [PATCH] Fix negation in previous commit. --- src/svg/SVGExport.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/svg/SVGExport.js b/src/svg/SVGExport.js index d0fee4e4..d4d6815c 100644 --- a/src/svg/SVGExport.js +++ b/src/svg/SVGExport.js @@ -125,7 +125,7 @@ new function() { attrs = getTransform(item._matrix); if (segments.length === 0) return null; - if (matchShapes && !item.isPolygon()) { + if (matchShapes && item.isPolygon()) { if (segments.length >= 3) { type = item._closed ? 'polygon' : 'polyline'; var parts = [];