fix of CCProgressTo::setColor

fix of CCProgressTo::setColor
0.0 0


The “updatecolor” is only invoked after the creation first time, so I call setColor will not affect the bar.
There’re to approaches. First is add “setColor” method to progress bar, then invoke CCSprite::setColor in it, then call updateColor.
The second, is to call updateColor eachtime the bar progress, and look for the new color of sprite.

I’m using the first approach, and fix it by my self. Hope this fix can be merge into the next version.


Thank you for your work. It is better to use english. Many members don’t understand Chinese.
Take it easy, it is not difficult to use english.


ha, I help him do this translation. Overload setColor() is a good idea.