mirror of https://github.com/axmolengine/axmol.git
Merge pull request #7652 from zhiqiangxu/labelbmfont_getboundingbox
bug fix for LabelBMFont::getBoundingBox()
This commit is contained in:
commit
f786190349
|
@ -204,7 +204,7 @@ const Size& LabelBMFont::getContentSize() const
|
||||||
|
|
||||||
Rect LabelBMFont::getBoundingBox() const
|
Rect LabelBMFont::getBoundingBox() const
|
||||||
{
|
{
|
||||||
return _label->getBoundingBox();
|
return Node::getBoundingBox();
|
||||||
}
|
}
|
||||||
#if CC_LABELBMFONT_DEBUG_DRAW
|
#if CC_LABELBMFONT_DEBUG_DRAW
|
||||||
void LabelBMFont::draw(Renderer *renderer, const Mat4 &transform, uint32_t flags)
|
void LabelBMFont::draw(Renderer *renderer, const Mat4 &transform, uint32_t flags)
|
||||||
|
|
Loading…
Reference in New Issue