Update object.class.js

This commit is contained in:
Andrea Bogazzi 2015-08-13 22:28:06 +02:00
parent dae413f745
commit 8ff217c59a

View file

@ -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) {