fix ui bug (#4528)

This commit is contained in:
zxg0622
2019-05-30 17:25:23 +08:00
committed by pandamicro
parent b10ef766b5
commit d5ed76c475
2 changed files with 15 additions and 15 deletions
+14 -14
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -212,7 +212,7 @@ export class UI {
}
}
if (this._debugScreen && this._debugScreen.camera && this._debugScreen.camera.visibility === visibility) {
if (this._debugScreen && this._debugScreen.camera && this._debugScreen.camera.view.visibility === visibility) {
return this._debugScreen;
}