Skip to content

Commit

Permalink
Rename ambiguous getLeading/Trailing... functions in Node.cpp
Browse files Browse the repository at this point in the history
Differential Revision: https://www.internalfb.com/diff/D50344874?entry_point=27

fbshipit-source-id: 111f43ef7548251c4af316f2153b56cc6f8c8a6e
  • Loading branch information
Joe Vilches authored and facebook-github-bot committed Oct 17, 2023
1 parent 18e4133 commit 83bc92a
Show file tree
Hide file tree
Showing 4 changed files with 126 additions and 124 deletions.
4 changes: 2 additions & 2 deletions yoga/algorithm/BoundAxis.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ inline float paddingAndBorderForAxis(
const yoga::Node* const node,
const FlexDirection axis,
const float widthSize) {
return node->getLeadingPaddingAndBorder(axis, widthSize) +
node->getTrailingPaddingAndBorder(axis, widthSize);
return node->getFlexStartPaddingAndBorder(axis, widthSize) +
node->getFlexEndPaddingAndBorder(axis, widthSize);
}

inline FloatOptional boundAxisWithinMinAndMax(
Expand Down
Loading

0 comments on commit 83bc92a

Please sign in to comment.