mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Set node.frame entirely
This commit is contained in:
@@ -118,7 +118,7 @@ static void *kASSizingQueueContext = &kASSizingQueueContext;
|
|||||||
ASCellNode *node = nodes[k];
|
ASCellNode *node = nodes[k];
|
||||||
ASSizeRange constrainedSize = nodeBoundSizes[k - j];
|
ASSizeRange constrainedSize = nodeBoundSizes[k - j];
|
||||||
[node measureWithSizeRange:constrainedSize];
|
[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