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-24 15:15:16 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
bebc4c604c7a596673306f442f490381b9dbdfd2
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