diff --git a/src/mixins/canvas_gestures.mixin.js b/src/mixins/canvas_gestures.mixin.js index 47c0fe81e98..17887c12332 100644 --- a/src/mixins/canvas_gestures.mixin.js +++ b/src/mixins/canvas_gestures.mixin.js @@ -138,7 +138,11 @@ target.setPositionByOrigin(constraintPosition, t.originX, t.originY); - this._fire('scaling', target, e); + this._fire('scaling', { + target: target, + e: e, + transform: t, + }); }, /** @@ -153,7 +157,11 @@ return; } t.target.rotate(radiansToDegrees(degreesToRadians(curAngle) + t.theta)); - this._fire('rotating', t.target, e); + this._fire('rotating', { + target: t.target, + e: e, + transform: t, + }); } }); })();