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

Method resolveDirection

third-party/yoga/src/yoga/node/Node.cpp:372–379  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

370}
371
372Direction Node::resolveDirection(const Direction ownerDirection) {
373 if (style_.direction() == Direction::Inherit) {
374 return ownerDirection != Direction::Inherit ? ownerDirection
375 : Direction::LTR;
376 } else {
377 return style_.direction();
378 }
379}
380
381void Node::clearChildren() {
382 children_.clear();

Callers 5

calculateLayoutImplFunction · 0.80
calculateLayoutFunction · 0.80
calculateFlexLineFunction · 0.80

Calls 1

directionMethod · 0.80

Tested by

no test coverage detected