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:
Nick Gerleman
2023-09-19 16:30:02 -07:00
committed by Facebook GitHub Bot
parent 61763e7d0a
commit 5bf81b1ef8
8 changed files with 80 additions and 77 deletions

View File

@@ -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!