mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Pin collection cellNode.frame = contentView.bounds (#2884)
This commit is contained in:
@@ -121,6 +121,15 @@ static NSString * const kCellReuseIdentifier = @"_ASCollectionViewCell";
|
||||
self.layoutAttributes = layoutAttributes;
|
||||
}
|
||||
|
||||
/**
|
||||
* Keep our node filling our content view.
|
||||
*/
|
||||
- (void)layoutSubviews
|
||||
{
|
||||
[super layoutSubviews];
|
||||
self.node.frame = self.contentView.bounds;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
#pragma mark -
|
||||
|
||||
Reference in New Issue
Block a user