C++ style enums 13/N: Wrap (#1400)
Summary: X-link: https://github.com/facebook/react-native/pull/39539 Pull Request resolved: https://github.com/facebook/yoga/pull/1400 Moves internal usages of YGPositionType to PositionType bypass-github-export-checks Changelog: [Internal] Reviewed By: rshest Differential Revision: D49361746 fbshipit-source-id: ccc77b4c77753b5f41e11f1849d4c02153c190b7
This commit is contained in:
committed by
Facebook GitHub Bot
parent
4ea6b4c4f9
commit
03d0523996
@@ -166,8 +166,7 @@ void nodeToString(
|
||||
appendFloatOptionalIfDefined(str, "flex", style.flex());
|
||||
|
||||
if (style.flexWrap() != yoga::Node{}.getStyle().flexWrap()) {
|
||||
appendFormattedString(
|
||||
str, "flex-wrap: %s; ", YGWrapToString(style.flexWrap()));
|
||||
appendFormattedString(str, "flex-wrap: %s; ", toString(style.flexWrap()));
|
||||
}
|
||||
|
||||
if (style.overflow() != yoga::Node{}.getStyle().overflow()) {
|
||||
|
Reference in New Issue
Block a user