New issue
 Projects > js > Issues > Bug #5072

Predefined colors like cc.color.RED have no alpha value

Bug #5072 [Closed]
pandamicro 2014-05-09 08:36 . Updated about 6 years ago

This will trigger problems for functions which need all rgba informations, so we should
1. Add alpha value to predefined colors
2. Remove alpha value set in cc.NodeRGBA.setColor (and all its subclasses)
3. Modify jsdoc comment of setColor

ludingping 2014-05-22 14:19
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Atom PDF

Status:Closed
Start date:2014-05-09
Priority:Normal
Due date:
Assignee:VisualSJ
% Done:

100%

Category:-
Target version:v3.0 beta