left: auto and alike #441
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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?
The API currently doesn't understand setting
left
(and similar properties) toauto
- it needs to be set toUNDEFINED
instead. Perhaps it could be interesting to update it so thatauto
is consistently used accross all properties.Working on it 👍
I think there is also a bit of confusion about
YGUnitAuto
vsYGUnitUndefined
. Some properties that can only be set toYGUndefined
(no auto setter) will have their getter report a unit ofYGUnitAuto
and othersYGUnitUndefined
.Example:
In
YG_NODE_STYLE_EDGE_PROPERTY_UNIT_IMPL
:In
YG_NODE_STYLE_PROPERTY_SETTER_UNIT_AUTO_IMPL
: