Camel case LengthValue in Node.cpp (#1754)
Summary: X-link: https://github.com/facebook/react-native/pull/47971 Pull Request resolved: https://github.com/facebook/yoga/pull/1754 This was annoying me Changelog: [Internal] Reviewed By: NickGerleman Differential Revision: D66510734 fbshipit-source-id: d1b952f2e82e7018b16dc0c572d9b98aec18c0e5
This commit is contained in:
committed by
Facebook GitHub Bot
parent
be00354b71
commit
b876f596d9
@@ -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
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user