mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-04-23 11:27:56 +08:00
Zero out constrained size value by default
This commit is contained in:
@@ -664,7 +664,7 @@ static BOOL _isInterceptedSelector(SEL sel)
|
||||
|
||||
- (ASSizeRange)dataController:(ASDataController *)dataController constrainedSizeForNodeAtIndexPath:(NSIndexPath *)indexPath
|
||||
{
|
||||
ASSizeRange constrainedSize;
|
||||
ASSizeRange constrainedSize = CGSizeZero;
|
||||
if (_layoutInspector) {
|
||||
constrainedSize = [_layoutInspector collectionView:self constrainedSizeForNodeAtIndexPath:indexPath];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user