mirror of https://github.com/axmolengine/axmol.git
Fixed compile error
This commit is contained in:
parent
964713355b
commit
b701fd9e73
|
@ -908,7 +908,7 @@ void Label::enableShadow(const Color4B& shadowColor /* = Color4B::BLACK */,const
|
||||||
|
|
||||||
if (!_systemFontDirty && !_contentDirty && _textSprite)
|
if (!_systemFontDirty && !_contentDirty && _textSprite)
|
||||||
{
|
{
|
||||||
auto& fontDef = _getFontDefinition();
|
auto fontDef = _getFontDefinition();
|
||||||
if (_shadowNode)
|
if (_shadowNode)
|
||||||
{
|
{
|
||||||
if (shadowColor != _shadowColor4F)
|
if (shadowColor != _shadowColor4F)
|
||||||
|
@ -1134,7 +1134,7 @@ void Label::updateContent()
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
auto& fontDef = _getFontDefinition();
|
auto fontDef = _getFontDefinition();
|
||||||
createSpriteForSystemFont(fontDef);
|
createSpriteForSystemFont(fontDef);
|
||||||
if (_shadowEnabled)
|
if (_shadowEnabled)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue