mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Complete merge of working window removal with ASHierarchyState changes in master.
This commit is contained in:
@@ -742,20 +742,6 @@ static ASDisplayNodeMethodOverrides GetASDisplayNodeMethodOverrides(Class c)
|
||||
[self displayImmediately];
|
||||
}
|
||||
|
||||
- (void)__setNeedsDisplay
|
||||
{
|
||||
ASDN::MutexLocker l(_propertyLock);
|
||||
//NSLog(@"About to find parent rasterize for %@", self);
|
||||
ASDisplayNode *rasterizedContainerNode = [self __rasterizedContainerNode];
|
||||
if (rasterizedContainerNode) {
|
||||
[rasterizedContainerNode setNeedsDisplay];
|
||||
} else {
|
||||
if (_layer && !self.isSynchronous && self.displaysAsynchronously) {
|
||||
[ASDisplayNode scheduleNodeForDisplay:self];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
- (void)__setNeedsLayout
|
||||
{
|
||||
ASDisplayNodeAssertThreadAffinity(self);
|
||||
|
||||
Reference in New Issue
Block a user