mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Minor fixes in ASViewController and Multiplex sample.
This commit is contained in:
@@ -33,7 +33,8 @@
|
||||
|
||||
- (void)viewWillLayoutSubviews
|
||||
{
|
||||
ASSizeRange constrainedSize = ASSizeRangeMake(self.view.bounds.size, self.view.bounds.size);
|
||||
CGSize viewSize = self.view.bounds.size;
|
||||
ASSizeRange constrainedSize = ASSizeRangeMake(viewSize, viewSize);
|
||||
[_node measureWithSizeRange:constrainedSize];
|
||||
[super viewWillLayoutSubviews];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user