mirror of https://github.com/axmolengine/axmol.git
Merge pull request #6859 from andyque/fixLayoutVisit
issue #5183, fix Layout visit issue
This commit is contained in:
commit
017b738f21
|
@ -705,7 +705,7 @@ bool Layout::isClippingEnabled()
|
|||
|
||||
void Layout::visit(Renderer *renderer, const Mat4 &parentTransform, bool parentTransformUpdated)
|
||||
{
|
||||
if (!_enabled)
|
||||
if (!_visible)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue