Merge branch 'master' of github.com:ericdrowell/KineticJS

This commit is contained in:
Лаврёнов Антон
2014-03-04 19:35:41 +08:00

View File

@@ -55,7 +55,7 @@
getIntersection: function(pos) {
var obj, i, intersectionOffset, shape;
if(this.isVisible()) {
if(this.hitGraphEnabled() && this.isVisible()) {
for (i=0; i<INTERSECTION_OFFSETS_LEN; i++) {
intersectionOffset = INTERSECTION_OFFSETS[i];
obj = this._getIntersection({