Moved isLeadingPos defined as a method on YGNode

Summary: Moved isLeadingPos defined as a method on YGNode

Reviewed By: emilsjolander

Differential Revision: D6682956

fbshipit-source-id: 31c60e0eae906e1434a6969f3cd786fcaf9097a5
This commit is contained in:
Pritesh Nandgaonkar
2018-01-11 04:47:38 -08:00
committed by Facebook Github Bot
parent 0cfdb50477
commit 92eda21e78
4 changed files with 24 additions and 24 deletions

View File

@@ -77,6 +77,7 @@ struct YGNode {
std::array<YGValue, 2> getResolvedDimensions() const;
YGValue getResolvedDimension(int index);
float getLeadingPosition(const YGFlexDirection axis, const float axisSize);
bool isLeadingPositionDefined(const YGFlexDirection axis);
// Setters