mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-18 19:40:19 +00:00
Merge pull request #270 from facebook/issue-268
Track control node touches
This commit is contained in:
commit
d5f18f7637
@ -368,7 +368,7 @@ void _ASEnumerateControlEventsIncludedInMaskWithBlock(ASControlNodeEvent mask, v
|
|||||||
- (BOOL)_isInterestedInTouches
|
- (BOOL)_isInterestedInTouches
|
||||||
{
|
{
|
||||||
// We're only interested in touches if we're enabled and we've got targets to talk to.
|
// 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)
|
id<NSCopying> _ASControlNodeEventKeyForControlEvent(ASControlNodeEvent controlEvent)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user