Skip to content

Commit

Permalink
Merge branch 'main' into feature/gap-ygvalue
Browse files Browse the repository at this point in the history
  • Loading branch information
heoblitz authored Nov 26, 2024
2 parents d4b64f8 + b876f59 commit 876e4dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions yoga/node/Node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,8 @@ void Node::setLayoutHadOverflow(bool hadOverflow) {
layout_.setHadOverflow(hadOverflow);
}

void Node::setLayoutDimension(float LengthValue, Dimension dimension) {
layout_.setDimension(dimension, LengthValue);
void Node::setLayoutDimension(float lengthValue, Dimension dimension) {
layout_.setDimension(dimension, lengthValue);
}

// If both left and right are defined, then use left. Otherwise return +left or
Expand Down
2 changes: 1 addition & 1 deletion yoga/node/Node.h
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ class YG_EXPORT Node : public ::YGNode {
uint32_t computedFlexBasisGeneration);
void setLayoutMeasuredDimension(float measuredDimension, Dimension dimension);
void setLayoutHadOverflow(bool hadOverflow);
void setLayoutDimension(float LengthValue, Dimension dimension);
void setLayoutDimension(float lengthValue, Dimension dimension);
void setLayoutDirection(Direction direction);
void setLayoutMargin(float margin, PhysicalEdge edge);
void setLayoutBorder(float border, PhysicalEdge edge);
Expand Down

0 comments on commit 876e4dd

Please sign in to comment.