Update canvas_grouping.mixin.js

Removed forced originX/Y from dynamically created groups
This commit is contained in:
Andrea Bogazzi 2014-10-20 17:31:20 +02:00
parent 9ebd84bd39
commit 0d2bac7907

View file

@ -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();