Do not hittest locked items.

This commit is contained in:
Jürg Lehni 2013-02-24 18:04:20 -08:00
parent 82029652c8
commit 326d8db4db

View file

@ -1144,6 +1144,9 @@ var Item = this.Item = Base.extend(Callback, {
{ name: Base.hyphenate(part), point: pt });
}
if (this._locked)
return null;
point = Point.read(arguments);
options = HitResult.getOptions(Base.read(arguments));
// Check if the point is withing roughBounds + tolerance, but only if