mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-14 16:53:10 +00:00
Merge pull request #1260 from Webbgaraget/toJSON-currentTransform-bugfix
Moves the resetting of _currentTransform.target inside `if (activeGroup)`-block
This commit is contained in:
commit
63ea7b0c34
1 changed files with 4 additions and 3 deletions
|
|
@ -895,11 +895,12 @@
|
|||
activeGroup.forEachObject(function(o) {
|
||||
o.set('active', true);
|
||||
});
|
||||
|
||||
if (this._currentTransform) {
|
||||
this._currentTransform.target = this.getActiveGroup();
|
||||
}
|
||||
}
|
||||
|
||||
if (this._currentTransform) {
|
||||
this._currentTransform.target = this.getActiveGroup();
|
||||
}
|
||||
|
||||
return data;
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue