mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Avoid applying item._matrix twice in Item#intersects()
As suggested by @sapics. Closes #847
This commit is contained in:
parent
7592895445
commit
aa316ffc8c
1 changed files with 1 additions and 1 deletions
|
@ -1671,7 +1671,7 @@ var Item = Base.extend(Emitter, /** @lends Item# */{
|
|||
// Tell getIntersections() to return as soon as some intersections are
|
||||
// found, because all we care for here is there are some or none:
|
||||
return this._asPathItem().getIntersections(item._asPathItem(), null,
|
||||
_matrix || item._matrix, true).length > 0;
|
||||
_matrix, true).length > 0;
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue