You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.
问题:设置Laya.stage.bgColor = null后控制台报错;
版本:LayaAir 1.7.18;
代码如下图:
表现如下图:
经过调试发现源码报错位置如下图:
总结:
虽然源码中判断isNaN(color) 则return,但是控制台我发现isNaN(null)其实是false;
The text was updated successfully, but these errors were encountered: