diff --git a/src/Layer.js b/src/Layer.js index a908f23c..8c6b3998 100644 --- a/src/Layer.js +++ b/src/Layer.js @@ -55,7 +55,7 @@ getIntersection: function(pos) { var obj, i, intersectionOffset, shape; - if(this.isVisible()) { + if(this.hitGraphEnabled() && this.isVisible()) { for (i=0; i