mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00: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