mirror of https://github.com/axmolengine/axmol.git
fixed incorrect initial value of label type.
This commit is contained in:
parent
aefafdbe77
commit
6f165bb592
|
@ -272,6 +272,7 @@ Label::Label(FontAtlas *atlas, TextHAlignment alignment, bool useDistanceField,b
|
|||
, _currNumLines(-1)
|
||||
, _textSprite(nullptr)
|
||||
, _contentDirty(false)
|
||||
, _currentLabelType(LabelType::STRING_TEXTURE)
|
||||
{
|
||||
_cascadeColorEnabled = true;
|
||||
_batchNodes.push_back(this);
|
||||
|
|
Loading…
Reference in New Issue