Merge pull request #6614 from Dhilan007/v3_labelhotfixed

closed #4906: Label created with system font is still visible when its opacity is 0
This commit is contained in:
James Chen 2014-05-08 10:51:23 +08:00
commit e521d7bc73
1 changed files with 1 additions and 0 deletions

View File

@ -934,6 +934,7 @@ void Label::createSpriteWithFontDefinition()
Node::addChild(_textSprite,0,Node::INVALID_TAG);
_textSprite->updateDisplayedColor(_displayedColor);
_textSprite->updateDisplayedOpacity(_displayedOpacity);
}
void Label::setFontDefinition(const FontDefinition& textDefinition)