From dad7821ee90873af8079d5865eb6c0ece07171d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sat, 1 Mar 2014 22:51:01 +0100 Subject: [PATCH] Include Item#transformContent in serialization and cloning. --- src/item/Item.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/item/Item.js b/src/item/Item.js index a2c4acef..2c96c3f3 100644 --- a/src/item/Item.js +++ b/src/item/Item.js @@ -61,6 +61,7 @@ var Item = Base.extend(Callback, /** @lends Item# */{ guide: false, selected: false, clipMask: false, + transformContent: null, data: {} }, @@ -1463,7 +1464,7 @@ var Item = Base.extend(Callback, /** @lends Item# */{ // meaning the default value has been overwritten (default is on // prototype). var keys = ['_locked', '_visible', '_blendMode', '_opacity', - '_clipMask', '_guide']; + '_clipMask', '_guide', '_transformContent']; for (var i = 0, l = keys.length; i < l; i++) { var key = keys[i]; if (this.hasOwnProperty(key))