Refactor nodeDidRelayoutWithSizeChange: -> nodeDidRelayout:sizeChanged:

This commit is contained in:
Adlai Holler
2015-11-30 19:29:27 -08:00
parent 04d93532bc
commit 0ee1fd82dc
4 changed files with 11 additions and 10 deletions

View File

@@ -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;
}