mirror of https://github.com/axmolengine/axmol.git
fix mistake of label's transparency.
This commit is contained in:
parent
ace3ecb48a
commit
710b614680
|
@ -197,7 +197,7 @@ Label::Label(FontAtlas *atlas, TextHAlignment alignment, bool useDistanceField,b
|
||||||
, _originalUTF16String(nullptr)
|
, _originalUTF16String(nullptr)
|
||||||
, _horizontalKernings(nullptr)
|
, _horizontalKernings(nullptr)
|
||||||
, _fontAtlas(atlas)
|
, _fontAtlas(atlas)
|
||||||
, _isOpacityModifyRGB(true)
|
, _isOpacityModifyRGB(false)
|
||||||
, _useDistanceField(useDistanceField)
|
, _useDistanceField(useDistanceField)
|
||||||
, _useA8Shader(useA8Shader)
|
, _useA8Shader(useA8Shader)
|
||||||
, _fontSize(0)
|
, _fontSize(0)
|
||||||
|
|
Loading…
Reference in New Issue