cocos2d/cocos2d-objc

CCLayoutBox doesn't take into account transform of the node

s1ddok opened this issue · 2 comments

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
?

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.

Fixed now in 3.5