Skip to content
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

[Yoga] Refine the handling of measurement functions when Yoga is used. #408

Merged
merged 1 commit into from
Jul 2, 2017

Commits on Jul 2, 2017

  1. [Yoga] Refine the handling of measurement functions when Yoga is used.

    This ensures that measure funcs are not set for container / empty spacer
    nodes, because Yoga has more internal capabilities than layoutThatFits:
    knows about.
    
    Avoid need for the main layout pass to directly call setup for measure
    funcs, by making it an implicit part of .yogaLayoutInProgress =.
    
    Tear down the measure func after the layout pass to avoid retain cycle.
    appleguy committed Jul 2, 2017
    Configuration menu
    Copy the full SHA
    e0c1b19 View commit details
    Browse the repository at this point in the history