mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-02 00:22:43 +08:00
Merge pull request #1912 from knoxHuang/Fix_Label
fix repeatedly creating a Label will cause the Label to be incorrect …
This commit is contained in:
@@ -1307,7 +1307,6 @@ _ccsg.Label.pool.get = function (string, fontAsset) {
|
||||
label.enableBold(false);
|
||||
label.enableItalics(false);
|
||||
label.enableUnderline(false);
|
||||
label.setBlendFunc(cc.macro.SRC_ALPHA, cc.macro.ONE_MINUS_SRC_ALPHA);
|
||||
|
||||
return label;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user