Skip to content

Commit

Permalink
test (#4753)
Browse files Browse the repository at this point in the history
  • Loading branch information
asturur authored Feb 21, 2018
1 parent f855bbc commit 3a92eb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/canvas.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -1206,7 +1206,7 @@
while (i--) {
if (this._checkTarget(pointer, objects[i])) {
target = objects[i];
if (target.type === 'group' && target.subTargetCheck) {
if (target.subTargetCheck && target instanceof fabric.Group) {
normalizedPointer = this._normalizePointer(target, pointer);
subTarget = this._searchPossibleTargets(target._objects, normalizedPointer);
subTarget && this.targets.push(subTarget);
Expand Down

0 comments on commit 3a92eb9

Please sign in to comment.