mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-15 01:03:10 +00:00
parent
4433809cb1
commit
cf95dd45c9
1 changed files with 5 additions and 4 deletions
|
|
@ -958,16 +958,17 @@
|
|||
return;
|
||||
}
|
||||
|
||||
var pointer = this.getPointer(e, true),
|
||||
activeGroup = this.getActiveGroup();
|
||||
|
||||
// first check current group (if one exists)
|
||||
// avtive group does not check sub targets like normal groups.
|
||||
// active group does not check sub targets like normal groups.
|
||||
// if active group just exits.
|
||||
var activeGroup = this.getActiveGroup();
|
||||
if (activeGroup && !skipGroup && this._checkTarget(pointer, activeGroup)) {
|
||||
return activeGroup;
|
||||
}
|
||||
|
||||
var pointer = this.getPointer(e, true),
|
||||
objects = this._objects;
|
||||
var objects = this._objects;
|
||||
this.targets = [ ];
|
||||
|
||||
if (this._isLastRenderedObject(pointer, e)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue