Skip to content

Convert YGUndefined back to CGFLOAT_MAX for Texture layout#1244

Merged
nguyenhuy merged 2 commits into
TextureGroup:masterfrom
tnorman42:fix-ygundefined-conversion
Nov 20, 2018
Merged

Convert YGUndefined back to CGFLOAT_MAX for Texture layout#1244
nguyenhuy merged 2 commits into
TextureGroup:masterfrom
tnorman42:fix-ygundefined-conversion

Conversation

@tnorman42

Copy link
Copy Markdown
Contributor

No description provided.

@appleguy appleguy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great change, thanks Tim!

Comment thread Source/Layout/ASYogaUtilities.mm Outdated
}
}

float cgFloatForYogaFloat(float yogaFloat) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: brace style in Texture has open braces for functions and methods on a newline.

Quick fix to brace style
@appleguy

Copy link
Copy Markdown
Member

Will merge when the CI passes.

@nguyenhuy
nguyenhuy merged commit 5be2213 into TextureGroup:master Nov 20, 2018

@maicki maicki left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tnorman42 Thanks for working on that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants