cocos2d / cocos2d-html5

Cocos2d for Web Browsers. Built using JavaScript.
https://www.cocos.com
3.06k stars 902 forks source link

color isn't displayed on Label Bitmap Font (Chrome v46) #3150

Open ibaranskyi opened 9 years ago

ibaranskyi commented 9 years ago

colors from Label Bitmap Fonts disappeared after Chome browser was updated to version 46.0.2490.71 it is reproduced for colors set from cocos studio and from code(using function setColor)

pixmaster commented 9 years ago

Perhaps this can be fixed if change in function globalCompositeOperation from "destination-atop" to "destination-in" in file cocos\web\cocos2d\core\textures\CCTexture2D.js:483 (v4.8.1)