mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-13 18:00:17 +00:00
Minor fix in ASStackLayoutSpecSnapshotTests (#3160)
This commit is contained in:
parent
18c906aa5c
commit
54325ecf66
@ -1059,7 +1059,7 @@ static NSArray<ASTextNode*> *defaultTextNodes()
|
||||
ASDisplayNodeWithBackgroundColor([UIColor yellowColor], CGSizeZero),
|
||||
];
|
||||
|
||||
subnodes[1].style.flexShrink = 0;
|
||||
subnodes[0].style.flexShrink = 0;
|
||||
subnodes[1].style.flexShrink = 1;
|
||||
|
||||
// In this scenario a width of 40 results in a negative violation of 10.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user