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

CCLayoutBox doesn't take into account transform of the node #1333

Closed
s1ddok opened this issue Jul 13, 2015 · 2 comments
Closed

CCLayoutBox doesn't take into account transform of the node #1333

s1ddok opened this issue Jul 13, 2015 · 2 comments

Comments

@s1ddok
Copy link
Contributor

s1ddok commented Jul 13, 2015

As I see it CCLayoutBox ignores transform of the node such as scale property, for example.

Wouldn't it be better if instead of this
float height = child.contentSizeInPoints.height
We'd use something like
float height = [child boundingBox].size.height
?

@Birkemose
Copy link
Contributor

It sounds reasonable that it should take scale into consideration, but I simply do not know what implications this would have on SpriteBuilder, so I am afraid we will have to leave it as this for now.

@s1ddok
Copy link
Contributor Author

s1ddok commented Feb 6, 2016

Fixed now in 3.5

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

No branches or pull requests

2 participants