mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-04-24 03:45:58 +08:00
Set node.frame entirely
This commit is contained in:
@@ -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);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user