From aa316ffc8c4d96747503c49ad4ba5c0731aea927 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sun, 27 Dec 2015 12:30:38 +0100 Subject: [PATCH] Avoid applying item._matrix twice in Item#intersects() As suggested by @sapics. Closes #847 --- src/item/Item.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/item/Item.js b/src/item/Item.js index f8e94382..f3fc300b 100644 --- a/src/item/Item.js +++ b/src/item/Item.js @@ -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; }, /**