mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-02 02:54:43 +00:00
Pass event to "object:rotating" callback
This commit is contained in:
parent
3b10cb0db9
commit
42c857c18c
1 changed files with 2 additions and 1 deletions
|
|
@ -350,7 +350,8 @@
|
|||
this._rotateObject(x, y);
|
||||
|
||||
this.fire('object:rotating', {
|
||||
target: this._currentTransform.target
|
||||
target: this._currentTransform.target,
|
||||
e: e
|
||||
});
|
||||
this._currentTransform.target.fire('rotating');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue