Skip to content

Commit

Permalink
Rename ambiguous getLeading/Trailing... functions in Node.cpp
Browse files Browse the repository at this point in the history
Summary: See D50344874

Differential Revision: D50344874

fbshipit-source-id: 4feeb80942caaf7a3a12f9c89acbe33f8f26866b
  • Loading branch information
joevilches authored and facebook-github-bot committed Oct 16, 2023
1 parent c5d95dd commit a00ffa7
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 a00ffa7

Please sign in to comment.