mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 15:52:40 +08:00
fix ui bug (#4528)
This commit is contained in:
Vendored
+14
-14
File diff suppressed because one or more lines are too long
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user