mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Only call -layout and -layoutDidFinish if the node is already loaded (#285)
* Only call -layout and -layoutDidFinish if the node is already loaded * Minor change * Update CHANGELOG
This commit is contained in:
@@ -234,7 +234,9 @@ FOUNDATION_EXPORT NSString * const ASRenderingEngineDidDisplayNodesScheduledBefo
|
||||
- (void)__setNeedsDisplay;
|
||||
|
||||
/**
|
||||
* Called from [CALayer layoutSublayers:]. Executes the layout pass for the node
|
||||
* Called whenever the node needs to layout its subnodes and, if it's already loaded, its subviews. Executes the layout pass for the node
|
||||
*
|
||||
* This method is thread-safe but asserts thread affinity.
|
||||
*/
|
||||
- (void)__layout;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user