We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2ce3c4 commit 4ed82c2Copy full SHA for 4ed82c2
cocos2d/core/labelttf/CCLabelTTF.js
@@ -719,18 +719,18 @@ cc.LabelTTF = cc.Sprite.extend(/** @lends cc.LabelTTF# */{
719
*/
720
getContentSize: function () {
721
if (this._needUpdateTexture)
722
- this._renderCmd._updateTTF();
+ this._renderCmd._updateTexture();
723
return cc.Sprite.prototype.getContentSize.call(this);
724
},
725
726
_getWidth: function () {
727
728
729
return cc.Sprite.prototype._getWidth.call(this);
730
731
_getHeight: function () {
732
733
734
return cc.Sprite.prototype._getHeight.call(this);
735
736
0 commit comments