mirror of https://github.com/axmolengine/axmol.git
fix typo.
This commit is contained in:
parent
6b74794c74
commit
1a08cd9b32
|
@ -829,7 +829,7 @@ void Label::enableOutline(const Color4B& outlineColor,int outlineSize /* = -1 */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Label::enableShadow(const Color4B& shadowColor /* = Color3B::BLACK */,const Size &offset /* = Size(2 ,-2)*/, int blurRadius /* = 0 */)
|
void Label::enableShadow(const Color4B& shadowColor /* = Color4B::BLACK */,const Size &offset /* = Size(2 ,-2)*/, int blurRadius /* = 0 */)
|
||||||
{
|
{
|
||||||
_effectColor = shadowColor;
|
_effectColor = shadowColor;
|
||||||
_effectColorF.r = _effectColor.r / 255.0f;
|
_effectColorF.r = _effectColor.r / 255.0f;
|
||||||
|
|
Loading…
Reference in New Issue