A CCLayerColor display bug in latest cocos2d-html5

We are developing a Facebook game using the latest cocos2d-html5.

Currently we encounter an issue about CCLayerColor,the issue can be reproduced in steps below:

  1. Set an image as the background of html page.
  2. Add a cc.Sprite instance and a cc.LayerColor instance to cc.Scene, then add the scene to cc.Director.
  3. Set the opacity of the cc.LayerColor instance to 0.5.
  4. Run this simple demo, you can see the background image of the html page even though the cc.LayerColor instance is in the front of the cc.sprite instance and I don’t change the opacity of the cc.Sprite instance.

I hope the issue has been described clearly.

Posting your code along with a screenshot would be a much bigger help, otherwise it’s going to be very difficult to figure out exactly what’s going on here.

I’m wondering if somehow a cascade opacity flag is affecting your sprite, but there’s no way to know without looking at your code.