Fix yg_positionType
ordinals
#1183
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix-position-ordinal"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #1179
fc88b2f774
shifted ordinals for the position enum, but only updated a limited set of code for the new values. Binding generation has since been fixed, but #1179 seems to be another case where the ordinal offsetting means thatyg_positionType
of aYogaLayout
view does not work correctly.Update the ordinals in accordance with the ordering in YogaPositionType which the integer value is converted to.
Using "static" (the new position type) directly gives a compilation error due to it being a reserved keyword, so I added it as "position_static" along with aliases to other properties with the same naming scheme for consistency.
@NickGerleman has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@NickGerleman has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
Pull request closed