New issue
 Projects > js > Issues > Bug #3116

xxxRGBAs have four bugs at setCascadeColorEnabled/setCascadeOpacityEnabled functions

Bug #3116 [Closed]
ludingping 2013-11-05 03:26 . Updated about 3 years ago
  1. if developers set the parent xxxRBGA object’s *cascadeOpacityEnabled/_cascadeColorEnabled first, then set the color/opacity to some value, finally add a child node to this xxxRBGA object through addChild function, but these added children’s color/opacity isn’t done affected by the parent node.
  2. A child Sprite’s color/opacity isn’t done affected by its parent node when the child sprite calls setColor/setOpacity and its parent node’s*cascadeOpacityEnabled/_cascadeColorEnabled is true.
  3. The LabelTTF doesn’t work when calls setCascadeColorEnabled/setCascadeOpacityEnabled.
  4. The LayerGradient doesn’t work when calls setCascadeColorEnabled/setCascadeOpacityEnabled.
ludingping 2013-11-05 03:33
  • Subject changed from xxxRGBAs have three bugs at setCascadeColorEnabled/setCascadeOpacityEnabled functions to xxxRGBAs have four bugs at setCascadeColorEnabled/setCascadeOpacityEnabled functions
ludingping 2013-11-05 05:59
  • Description updated (diff)
ludingping 2013-11-05 07:11
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset commit:690ff0525afa33e42bef11392bef7e7c3ea4281e.

Atom PDF

Status:Closed
Start date:2013-11-05
Priority:Normal
Due date:
Assignee:ludingping
% Done:

100%

Category:-
Target version:v2.2.1

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.