Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sapics committed Apr 28, 2015
1 parent 80c3905 commit d1b8a11
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/shapes/group.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit d1b8a11

Please sign in to comment.