Experiment with concept of YGRemeasureFunc #423
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?
Sometimes cached measurements cannot be re-used so we must re-measure a node. Currently we do this by calling the node's measure function again. This is suboptimal for text. In a lot of cases (if the constraints have been relaxed) we can know the new size of the text without calling measure. This requires a
YGRemeasureFunc
, by default it would just delegate toYGMeasureFunc
but for text nodes it could have a more optimal implementation.