diff --git a/cocos/2d/CCLabelTTF.cpp b/cocos/2d/CCLabelTTF.cpp index 63acc40e11..e59caa4285 100644 --- a/cocos/2d/CCLabelTTF.cpp +++ b/cocos/2d/CCLabelTTF.cpp @@ -280,7 +280,9 @@ const Size& LabelTTF::getContentSize() const Rect LabelTTF::getBoundingBox() const { - return _renderLabel->getBoundingBox(); + Size size = getContentSize(); + Rect rect = Node::getBoundingBox(); + return rect; } #if defined(__GNUC__) && ((__GNUC__ >= 4) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 1)))