mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-27 14:33:59 +00:00
Update group.class.js
This commit is contained in:
parent
2fbebb03cc
commit
4314d30370
1 changed files with 2 additions and 7 deletions
|
|
@ -69,9 +69,7 @@
|
|||
this._calcBounds();
|
||||
this._updateObjectsCoords();
|
||||
|
||||
if (options) {
|
||||
extend(this, options);
|
||||
}
|
||||
this.callSuper('initialize', options);
|
||||
|
||||
this.setCoords();
|
||||
this.saveCoords();
|
||||
|
|
@ -199,14 +197,11 @@
|
|||
_set: function(key, value) {
|
||||
if (key in this.delegatedProperties) {
|
||||
var i = this._objects.length;
|
||||
this[key] = value;
|
||||
while (i--) {
|
||||
this._objects[i].set(key, value);
|
||||
}
|
||||
}
|
||||
else {
|
||||
this[key] = value;
|
||||
}
|
||||
this.callSuper('_set', key, value);
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue