mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Camel case LengthValue in Node.cpp (#47971)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/47971 X-link: 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
24f010d5b5
commit
40c194cf47
@@ -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