-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update YGNodeStyleGetGap to return YGValue #47973
Conversation
This pull request was exported from Phabricator. Differential Revision: D66513236 |
f384b73
to
c71eacb
Compare
This pull request was exported from Phabricator. Differential Revision: D66513236 |
Summary: Gap can be styled using both `points` and `percentages`, but YGNodeStyleGetGap currently returns a float value. To maintain alignment with the `padding` and `margin` functionalities and allow it to be handled in bridging code, this function has been updated to return YGValue. X-link: facebook/yoga#1753 Reviewed By: joevilches Differential Revision: D66513236 Pulled By: NickGerleman
c71eacb
to
8332648
Compare
This pull request was exported from Phabricator. Differential Revision: D66513236 |
@NickGerleman merged this pull request in 331d99a. |
This pull request was successfully merged by @heoblitz in 331d99a When will my fix make it into a release? | How to file a pick request? |
Summary: X-link: facebook/react-native#47973 Gap can be styled using both `points` and `percentages`, but YGNodeStyleGetGap currently returns a float value. To maintain alignment with the `padding` and `margin` functionalities and allow it to be handled in bridging code, this function has been updated to return YGValue. X-link: facebook/yoga#1753 Reviewed By: joevilches Differential Revision: D66513236 Pulled By: NickGerleman fbshipit-source-id: b7110855c037f20780f031f22a945bde4446687d
Summary: X-link: facebook/react-native#47973 Gap can be styled using both `points` and `percentages`, but YGNodeStyleGetGap currently returns a float value. To maintain alignment with the `padding` and `margin` functionalities and allow it to be handled in bridging code, this function has been updated to return YGValue. Pull Request resolved: #1753 Reviewed By: joevilches Differential Revision: D66513236 Pulled By: NickGerleman fbshipit-source-id: b7110855c037f20780f031f22a945bde4446687d
Summary:
Gap can be styled using both
points
andpercentages
, but YGNodeStyleGetGap currently returns a float value.To maintain alignment with the
padding
andmargin
functionalities and allow it to be handled in bridging code, this function has been updated to return YGValue.X-link: facebook/yoga#1753
Reviewed By: joevilches
Differential Revision: D66513236
Pulled By: NickGerleman