Merge pull request #2148 from 2youyou2/next

background color should be (0,0,0,0), or will cause white border
This commit is contained in:
pandamicro
2017-11-29 18:00:41 +08:00
committed by GitHub
+1 -1
View File
@@ -80,7 +80,7 @@ module.exports = {
x: 0, y: 0, w: canvas.width, h: canvas.height
});
if (CC_EDITOR) {
this._camera.setColor(1, 1, 1, 0);
this._camera.setColor(0, 0, 0, 0);
}
this._camera.setStages([
'transparent'