mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 07:42:38 +08:00
fixed label assembler
This commit is contained in:
@@ -201,7 +201,7 @@ module.exports = {
|
||||
_comp._fontAtlas = _fontAtlas;
|
||||
}
|
||||
|
||||
_string = _comp.string;
|
||||
_string = _comp.string.toString();
|
||||
_fontSize = _comp.fontSize;
|
||||
_originFontSize = _fntConfig.fontSize;
|
||||
_contentSize = _comp.node._contentSize;
|
||||
|
||||
@@ -200,7 +200,7 @@ module.exports = {
|
||||
_canvas = _comp._canvas;
|
||||
_texture = _comp._texture;
|
||||
|
||||
_string = _comp.string;
|
||||
_string = _comp.string.toString();
|
||||
_fontSize = _comp._fontSize;
|
||||
_drawFontsize = _fontSize;
|
||||
_overflow = _comp.overflow;
|
||||
|
||||
Reference in New Issue
Block a user