From 8ff217c59a139e85cdc587d16704a985ca3f52b4 Mon Sep 17 00:00:00 2001 From: Andrea Bogazzi Date: Thu, 13 Aug 2015 22:28:06 +0200 Subject: [PATCH] Update object.class.js --- src/shapes/object.class.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shapes/object.class.js b/src/shapes/object.class.js index 0f8bef77..7d538f2c 100644 --- a/src/shapes/object.class.js +++ b/src/shapes/object.class.js @@ -783,7 +783,7 @@ fill: (this.fill && this.fill.toObject) ? this.fill.toObject() : this.fill, stroke: (this.stroke && this.stroke.toObject) ? this.stroke.toObject() : this.stroke, strokeWidth: toFixed(this.strokeWidth, NUM_FRACTION_DIGITS), - strokeDashArray: this.strokeDashArray ? extend([ ], this.strokeDashArray) : this.strokeDashArray, + strokeDashArray: this.strokeDashArray ? this.strokeDashArray.concat() : this.strokeDashArray, strokeLineCap: this.strokeLineCap, strokeLineJoin: this.strokeLineJoin, strokeMiterLimit: toFixed(this.strokeMiterLimit, NUM_FRACTION_DIGITS), @@ -799,7 +799,7 @@ backgroundColor: this.backgroundColor, fillRule: this.fillRule, globalCompositeOperation: this.globalCompositeOperation, - transformMatrix: this.transformMatrix ? extend([ ], this.transformMatrix) : this.transformMatrix + transformMatrix: this.transformMatrix ? this.transformMatrix.concat() : this.transformMatrix }; if (!this.includeDefaultValues) {