Remove yoga::Style::BitfieldRef (#1459)
Summary: X-link: https://github.com/facebook/react-native/pull/41393 Pull Request resolved: https://github.com/facebook/yoga/pull/1459 Removes the last of the non setter-style style setters. Changelog: [Internal] Reviewed By: javache Differential Revision: D51155925 fbshipit-source-id: 2921c87d95ad36495b7013e592d5169015321545
This commit is contained in:
committed by
Facebook GitHub Bot
parent
ed6e91479c
commit
9b0fd09ec6
@@ -61,8 +61,8 @@ class YG_EXPORT Node : public ::YGNode {
|
||||
Direction direction) const;
|
||||
|
||||
void useWebDefaults() {
|
||||
style_.flexDirection() = FlexDirection::Row;
|
||||
style_.alignContent() = Align::Stretch;
|
||||
style_.setFlexDirection(FlexDirection::Row);
|
||||
style_.setAlignContent(Align::Stretch);
|
||||
}
|
||||
|
||||
template <auto Field>
|
||||
|
Reference in New Issue
Block a user