mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Add a concurrent flag to ASStackLayoutSpec that is off by default (#3148)
This commit is contained in:
@@ -58,7 +58,8 @@ struct ASStackUnpositionedLayout {
|
||||
/** Given a set of children, computes the unpositioned layouts for those children. */
|
||||
static ASStackUnpositionedLayout compute(const std::vector<ASStackLayoutSpecChild> &children,
|
||||
const ASStackLayoutSpecStyle &style,
|
||||
const ASSizeRange &sizeRange);
|
||||
const ASSizeRange &sizeRange,
|
||||
const BOOL concurrent);
|
||||
|
||||
static CGFloat baselineForItem(const ASStackLayoutSpecStyle &style,
|
||||
const ASStackLayoutSpecItem &l);
|
||||
|
||||
Reference in New Issue
Block a user