mirror of https://github.com/axmolengine/axmol.git
Merge pull request #15287 from zilongshanren/fix-label-issues
fix system font dirty issue
This commit is contained in:
commit
3a600e3d4a
|
@ -630,6 +630,7 @@ bool Label::setBMFontFilePath(const std::string& bmfontFilePath, const Vec2& ima
|
|||
_bmFontPath = bmfontFilePath;
|
||||
|
||||
_currentLabelType = LabelType::BMFONT;
|
||||
_systemFontDirty = false;
|
||||
setFontAtlas(newAtlas);
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue