Change the type of flexGrow to YGFloatOptional
Summary: Change the type of flexGrow to YGFloatOptional Reviewed By: emilsjolander Differential Revision: D7215355 fbshipit-source-id: 1298ee332551d44e4d070169a1e4103d005c4f43
This commit is contained in:
committed by
Facebook Github Bot
parent
2232d7603a
commit
8aadae8ce4
@@ -161,7 +161,7 @@ void YGNodeToString(
|
||||
appendFormatedString(
|
||||
str, "align-self: %s; ", YGAlignToString(node->getStyle().alignSelf));
|
||||
}
|
||||
appendFloatIfNotUndefined(str, "flex-grow", node->getStyle().flexGrow);
|
||||
appendFloatOptionalIfDefined(str, "flex-grow", node->getStyle().flexGrow);
|
||||
appendFloatIfNotUndefined(str, "flex-shrink", node->getStyle().flexShrink);
|
||||
appendNumberIfNotAuto(str, "flex-basis", node->getStyle().flexBasis);
|
||||
appendFloatOptionalIfDefined(str, "flex", node->getStyle().flex);
|
||||
|
Reference in New Issue
Block a user