mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-14 16:53:10 +00:00
Call setCoords() only on target object
Only update target's cornerCoords.
This commit is contained in:
parent
d6e292e482
commit
662b322cd1
1 changed files with 1 additions and 6 deletions
|
|
@ -122,13 +122,8 @@
|
|||
target._scaling = false;
|
||||
}
|
||||
|
||||
// determine the new coords everytime the image changes its position
|
||||
var i = this._objects.length;
|
||||
while (i--) {
|
||||
this._objects[i].setCoords();
|
||||
}
|
||||
|
||||
target.isMoving = false;
|
||||
target.setCoords();
|
||||
|
||||
// only fire :modified event if target coordinates were changed during mousedown-mouseup
|
||||
if (this.stateful && target.hasStateChanged()) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue