MCPcopy Create free account
hub / github.com/Snapchat/Valdi / isHorizontal

Method isHorizontal

valdi/src/valdi/runtime/Context/ViewNode.cpp:2813–2817  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2811
2812 float highestWidth = 0;
2813 float highestHeight = 0;
2814
2815 for (auto* childYogaNode : yogaContainerNode->getChildren()) {
2816 auto frame = ygNodeGetFrame(childYogaNode, rtlOffsetX);
2817
2818 auto right = frame.getRight() + childYogaNode->getLayout().margin(facebook::yoga::PhysicalEdge::Right);
2819 auto bottom = frame.getBottom() + childYogaNode->getLayout().margin(facebook::yoga::PhysicalEdge::Bottom);
2820

Callers 2

insertChildViewMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected