C++ style enums 11/N: Align (#1395)
Summary: X-link: https://github.com/facebook/react-native/pull/39497 Pull Request resolved: https://github.com/facebook/yoga/pull/1395 Moves internal usages of YGAlign to Align bypass-github-export-checks Changelog: [Internal] Reviewed By: rshest Differential Revision: D49337511 fbshipit-source-id: bb9906fcd22780d2cfd8d1360ef69f66b9701bb6
This commit is contained in:
committed by
Facebook GitHub Bot
parent
61763e7d0a
commit
5bf81b1ef8
@@ -52,7 +52,7 @@ class YG_EXPORT Node : public ::YGNode {
|
||||
|
||||
void useWebDefaults() {
|
||||
style_.flexDirection() = FlexDirection::Row;
|
||||
style_.alignContent() = YGAlignStretch;
|
||||
style_.alignContent() = Align::Stretch;
|
||||
}
|
||||
|
||||
// DANGER DANGER DANGER!
|
||||
|
Reference in New Issue
Block a user