mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-11 07:13:09 +00:00
Fix group coords
This commit is contained in:
parent
6eae0994db
commit
03926af729
2 changed files with 5 additions and 3 deletions
|
|
@ -995,9 +995,9 @@
|
|||
this._activeGroup = group;
|
||||
if (group) {
|
||||
group.canvas = this;
|
||||
group._calcBounds();
|
||||
group._updateObjectsCoords();
|
||||
group.setCoords();
|
||||
//group._calcBounds();
|
||||
//group._updateObjectsCoords();
|
||||
//group.setCoords();
|
||||
group.set('active', true);
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -63,7 +63,9 @@
|
|||
extend(this, options);
|
||||
}
|
||||
this._setOpacityIfSame();
|
||||
this._calcBounds();
|
||||
this._updateObjectsCoords();
|
||||
this.setCoords();
|
||||
this.saveCoords();
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue