Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Laya.stage.bgColor = null没有背景透明,是黑色 #53

Open
qq986063761 opened this issue Jul 20, 2018 · 1 comment
Open

Laya.stage.bgColor = null没有背景透明,是黑色 #53

qq986063761 opened this issue Jul 20, 2018 · 1 comment

Comments

@qq986063761
Copy link

问题:设置Laya.stage.bgColor = null,背景并没有透明,背后使用html标签已经写了一个背景,但是因为没有透明所以被挡住了;
引擎版本:LayaAir 1.7.19.1 beta(以前的版本也存在此问题);
文档描述如下:
image
我的代码如下:
image
所得表现结果如下:
image

@qq986063761
Copy link
Author

百度追加 Config.isAlpha = true; 就好了,有前置条件为何不在文档说明?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant