We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c54eac9 + 9613342 commit 0c3c60fCopy full SHA for 0c3c60f
cocos2d/shape-nodes/CCDrawNodeCanvasRenderCmd.js
@@ -44,7 +44,7 @@
44
cc.extend(cc.DrawNode.CanvasRenderCmd.prototype, {
45
rendering: function (ctx, scaleX, scaleY) {
46
var wrapper = ctx || cc._renderContext, context = wrapper.getContext(), node = this._node;
47
- var alpha = node._displayedOpacity / 255;
+ var alpha = this._displayedOpacity / 255;
48
if (alpha === 0)
49
return;
50
0 commit comments