Update group.class.js

This commit is contained in:
Andrea Bogazzi 2014-10-20 16:52:07 +02:00
parent 2fefe13613
commit 64531a3905

View file

@ -58,13 +58,21 @@
this.originalState = { };
this.callSuper('initialize');
if (options) {
extend(this, options);
if (options.originX) {
this.originX = options.originX;
}
if (options.originY) {
this.originY = options.originY;
}
this._calcBounds();
this._updateObjectsCoords();
if (options) {
extend(this, options);
}
this.setCoords();
this.saveCoords();
},