mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
More updates
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
layout.position = CGPointZero;
|
||||
layout = [ASLayout layoutWithLayoutableObject:self size:layout.size sublayouts:@[layout]];
|
||||
_layoutUnderTest = [layout flattenedLayoutUsingPredicateBlock:^BOOL(ASLayout *evaluatedLayout) {
|
||||
return [self.subnodes containsObject:evaluatedLayout.layoutableObject];
|
||||
return [self.subnodes containsObject:(ASDisplayNode *)evaluatedLayout.layoutableObject];
|
||||
}];
|
||||
self.frame = CGRectMake(0, 0, _layoutUnderTest.size.width, _layoutUnderTest.size.height);
|
||||
[self measure:_layoutUnderTest.size];
|
||||
|
||||
Reference in New Issue
Block a user