Layers should not be turning up in hit-tests.

Closes #608
This commit is contained in:
Jürg Lehni 2016-01-14 19:33:48 +01:00
parent cd366982d6
commit 1563f69ce9

View file

@ -139,5 +139,9 @@ var Layer = Group.extend(/** @lends Layer# */{
return !this._parent
? this._project.insertChild(index, item, _preserve)
: _insertSibling.base.call(this, index, item, _preserve);
},
_hitTestSelf: function() {
return null;
}
});