mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-16 19:30:29 +00:00
Merge pull request #1370 from guodac/subnode-layout-changed
[ASCollectionView] Ensure layoutFacilitator is notified when cell relayout results in size change.
This commit is contained in:
commit
e645a511be
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user