Skip to content

Commit

Permalink
Properly camelcase mainAxisownerSize in FlexLine (#1762)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #1762

X-link: facebook/react-native#48077

OCD strikes again. Grepped this time to make sure we didn't miss any cases for this specific param name

Changelog: [Internal]

Reviewed By: NickGerleman

Differential Revision: D66715777

fbshipit-source-id: 3e881a15b3b2836a4a55b11d7ec621541b92a05d
  • Loading branch information
joevilches authored and facebook-github-bot committed Dec 4, 2024
1 parent 733ba24 commit 050ac8a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions yoga/algorithm/FlexLine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ FlexLine calculateFlexLine(
yoga::Node* const node,
const Direction ownerDirection,
const float ownerWidth,
const float mainAxisownerSize,
const float mainAxisOwnerSize,
const float availableInnerWidth,
const float availableInnerMainDim,
Node::LayoutableChildren::Iterator& iterator,
Expand Down Expand Up @@ -70,7 +70,7 @@ FlexLine calculateFlexLine(
direction,
mainAxis,
child->getLayout().computedFlexBasis,
mainAxisownerSize,
mainAxisOwnerSize,
ownerWidth)
.unwrap();

Expand Down
2 changes: 1 addition & 1 deletion yoga/algorithm/FlexLine.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ FlexLine calculateFlexLine(
yoga::Node* node,
Direction ownerDirection,
float ownerWidth,
float mainAxisownerSize,
float mainAxisOwnerSize,
float availableInnerWidth,
float availableInnerMainDim,
Node::LayoutableChildren::Iterator& iterator,
Expand Down

0 comments on commit 050ac8a

Please sign in to comment.