mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-18 03:20:09 +00:00
Track control node touches
Tested with custom `ASTextNode` subclass. No targets added, but tracking events are still received upon touches. fixes #268
This commit is contained in:
parent
f200f9504a
commit
76b3d1310f
@ -363,7 +363,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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user