mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Refactor nodeDidRelayoutWithSizeChange: -> nodeDidRelayout:sizeChanged:
This commit is contained in:
@@ -910,11 +910,11 @@ static BOOL _isInterceptedSelector(SEL sel)
|
||||
|
||||
#pragma mark - ASCellNodeLayoutDelegate
|
||||
|
||||
- (void)nodeDidRelayoutWithSizeChange:(ASCellNode *)node
|
||||
- (void)nodeDidRelayout:(ASCellNode *)node sizeChanged:(BOOL)sizeChanged
|
||||
{
|
||||
ASDisplayNodeAssertMainThread();
|
||||
|
||||
if (_queuedNodeHeightUpdate) {
|
||||
if (!sizeChanged || _queuedNodeHeightUpdate) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user