Merge pull request #270 from facebook/issue-268

Track control node touches
This commit is contained in:
Nadine Salter 2015-01-27 16:16:27 -08:00
commit d5f18f7637

View File

@ -368,7 +368,7 @@ void _ASEnumerateControlEventsIncludedInMaskWithBlock(ASControlNodeEvent mask, v
- (BOOL)_isInterestedInTouches
{
// We're only interested in touches if we're enabled and we've got targets to talk to.
return self.enabled && ([_controlEventDispatchTable count] > 0);
return self.enabled;
}
id<NSCopying> _ASControlNodeEventKeyForControlEvent(ASControlNodeEvent controlEvent)