mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
make sure ASCV's layoutFacilitator triggers layout recalculation when its subnode has size change
This commit is contained in:
@@ -1023,6 +1023,7 @@ static NSString * const kCellReuseIdentifier = @"_ASCollectionViewCell";
|
|||||||
}
|
}
|
||||||
|
|
||||||
_queuedNodeSizeUpdate = YES;
|
_queuedNodeSizeUpdate = YES;
|
||||||
|
[_layoutFacilitator collectionViewWillEditCellsAtIndexPaths:@[[self indexPathForNode:node]] batched:NO];
|
||||||
[self performSelector:@selector(requeryNodeSizes)
|
[self performSelector:@selector(requeryNodeSizes)
|
||||||
withObject:nil
|
withObject:nil
|
||||||
afterDelay:0
|
afterDelay:0
|
||||||
|
|||||||
Reference in New Issue
Block a user