u0u0/Cocos2d-Lua-Community

void Widget::updateSizeAndPosition() 没有判断空指针

wenxue0501 opened this issue · 1 comments

void Widget::updateSizeAndPosition()
{
if (_parent) //空指针判断
{
Size pSize = _parent->getContentSize();
updateSizeAndPosition(pSize);
}
}

u0u0 commented

fixed e020122.