Take #visible state into account when hit-testing.

Closes #243.
This commit is contained in:
Jürg Lehni 2013-06-23 17:55:14 -07:00
parent f45fa853e7
commit 76426c4cb3

View file

@ -1381,7 +1381,7 @@ var Item = Base.extend(Callback, /** @lends Item# */{
{ name: Base.hyphenate(part), point: pt }); { name: Base.hyphenate(part), point: pt });
} }
if (this._locked) if (this._locked || !this._visible)
return null; return null;
point = Point.read(arguments); point = Point.read(arguments);