From 33c07db58c1ce213d8e823a8801be424861e320e Mon Sep 17 00:00:00 2001 From: Adlai Holler Date: Mon, 5 Oct 2015 11:42:25 -0700 Subject: [PATCH] Set node.frame entirely --- AsyncDisplayKit/Details/ASDataController.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AsyncDisplayKit/Details/ASDataController.mm b/AsyncDisplayKit/Details/ASDataController.mm index 651f048c6b..eecfe43adc 100644 --- a/AsyncDisplayKit/Details/ASDataController.mm +++ b/AsyncDisplayKit/Details/ASDataController.mm @@ -118,7 +118,7 @@ static void *kASSizingQueueContext = &kASSizingQueueContext; ASCellNode *node = nodes[k]; ASSizeRange constrainedSize = nodeBoundSizes[k - j]; [node measureWithSizeRange:constrainedSize]; - node.frame.size = node.calculatedSize; + node.frame = CGRectMake(0, 0, node.calculatedSize.width, node.calculatedSize.height); } }); }