Skip to content

Commit 0d08878

Browse files
committed
Issue cocos2d#2416: LabelTTF setString nothing transform
1 parent 5935582 commit 0d08878

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cocos2d/core/labelttf/CCLabelTTF.js

+1
Original file line numberDiff line numberDiff line change
@@ -578,6 +578,7 @@ cc.LabelTTF = cc.Sprite.extend(/** @lends cc.LabelTTF# */{
578578

579579
// Force update
580580
this._setUpdateTextureDirty();
581+
this._renderCmd.setDirtyFlag(cc.Node._dirtyFlags.transformDirty);
581582
}
582583
},
583584
_updateString: function () {

0 commit comments

Comments
 (0)