From d1b8a1109b7991d352ee09c17b3d66772daa7cb1 Mon Sep 17 00:00:00 2001 From: sapics Date: Tue, 28 Apr 2015 11:08:34 +0900 Subject: [PATCH] fix --- src/shapes/group.class.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/shapes/group.class.js b/src/shapes/group.class.js index 26716067daf..516831270ff 100644 --- a/src/shapes/group.class.js +++ b/src/shapes/group.class.js @@ -72,6 +72,13 @@ this._updateObjectsCoords(); this.callSuper('initialize', options); } + else { + for (i = this._objects.length; i--; ) { + this._objects[i].setCoords(); + objects[i].__origHasControls = objects[i].hasControls; + this._objects[i].hasControls = false; + } + } this.setCoords(); this.saveCoords(); @@ -355,7 +362,7 @@ this._setObjectPosition(object); object.setCoords(); - object.hasControls = !!object.__origHasControls; + object.hasControls = object.__origHasControls; delete object.__origHasControls; object.set('active', false); object.setCoords();