mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-04 18:42:40 +08:00
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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user