diff --git a/src/shapes/path.class.js b/src/shapes/path.class.js index 65c9da12..32eb548b 100644 --- a/src/shapes/path.class.js +++ b/src/shapes/path.class.js @@ -543,7 +543,7 @@ chunks.push(this.path[i].join(' ')); } var path = chunks.join(' '); - if (!(this.group && this.group.type == 'path-group')) { + if (!(this.group && this.group.type === 'path-group')) { addTransform = 'translate(' + (-this.width / 2) + ', ' + (-this.height / 2) + ')'; } markup.push(