From 0fa0c98fa5e5b7cff29e9d24bb313d6deb9935ce Mon Sep 17 00:00:00 2001 From: knoxHuang <821686174@qq.com> Date: Mon, 18 Dec 2017 14:19:46 +0800 Subject: [PATCH] fix getDisplayedColor api --- cocos2d/core/CCNode.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cocos2d/core/CCNode.js b/cocos2d/core/CCNode.js index e176721ab3..7da9f198e4 100644 --- a/cocos2d/core/CCNode.js +++ b/cocos2d/core/CCNode.js @@ -1974,8 +1974,10 @@ var Node = cc.Class({ * Returns the displayed color of Node, * the difference between displayed color and color is that displayed color is calculated based on color and parent node's color when cascade color enabled. * !#zh - * 获取节点的显示透明度, - * 显示透明度和透明度之间的不同之处在于显示透明度是基于透明度和父节点透明度启用级连透明度时计算的。 + * 获取节点的显示颜色, + * 显示颜色和颜色之间的不同之处在于当启用级连颜色时, + * 显示颜色是基于自身颜色和父节点颜色计算的。 + * * @method getDisplayedColor * @returns {Color} * @example