This website requires JavaScript.
Explore
Help
Sign In
ThePain
/
Swiftgram
Watch
1
Star
0
Fork
0
You've already forked Swiftgram
mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced
2025-12-25 15:37:36 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
495f32f0ef87ea75145cbe6dbff0e706fab6b22e
Swiftgram
/
AsyncDisplayKit
/
ASControlNode+Subclasses.h
Hannah Troisi
9d5fed280d
A debug feature on ASControlNode to visualize tap-able areas (by adding a highlight overlay ASDisplayNode as a subnode) when addTarget:action:ControlEvent: is called. Uses hitTestSlop to get ASControlNode's UIEdgeInset and set the highlight overlay's frame to be the ASControlNode frame + edge insets. Disables clip to bounds on ASControlNode. Enabled by calling +[ASControlNode setEnableHitTestDebug:YES];
2016-03-05 16:08:55 -08:00
2.9 KiB
Raw
Blame
History
View Raw
Reference in New Issue
View Git Blame
Copy Permalink