mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-04-23 23:34:41 +00:00
Update canvas_grouping.mixin.js
Removed forced originX/Y from dynamically created groups
This commit is contained in:
parent
9ebd84bd39
commit
0d2bac7907
1 changed files with 0 additions and 4 deletions
|
|
@ -107,8 +107,6 @@
|
|||
: [ target, this._activeObject ];
|
||||
|
||||
return new fabric.Group(groupObjects, {
|
||||
originX: 'center',
|
||||
originY: 'center',
|
||||
canvas: this
|
||||
});
|
||||
},
|
||||
|
|
@ -127,8 +125,6 @@
|
|||
}
|
||||
else if (group.length > 1) {
|
||||
group = new fabric.Group(group.reverse(), {
|
||||
originX: 'center',
|
||||
originY: 'center',
|
||||
canvas: this
|
||||
});
|
||||
group.addWithUpdate();
|
||||
|
|
|
|||
Loading…
Reference in a new issue