Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix opacity cascading of labelOutLine. #4495

Merged
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Fix opacity cascading issues of labelOutLine.

  • Loading branch information...
caryliu1999 committed May 24, 2019
commit 6f0dcdad930f2c9ffb2b407ab9f5b6454626ab2f
@@ -169,8 +169,6 @@ module.exports = {
_isOutlined = true;
_margin = _outlineWidth = outline.width;
_outlineColor = cc.color(outline.color);
// TODO: temporary solution, cascade opacity for outline color
_outlineColor.a = _outlineColor.a * comp.node.color.a / 255.0;
}
else {
_isOutlined = false;
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.