Merge pull request #7652 from zhiqiangxu/labelbmfont_getboundingbox

bug fix for LabelBMFont::getBoundingBox()
This commit is contained in:
minggo 2014-08-06 14:28:52 +08:00
commit f786190349
1 changed files with 1 additions and 1 deletions

View File

@ -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)