Skip to content

Commit e62b31c

Browse files
author
Avaer Kazmer
committed
Disable xr-site camera by default for non- window.xrTop
1 parent 04d8811 commit e62b31c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xr-site.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class XRSite extends HTMLElement {
1818

1919
this.fakeXrDisplay = new FakeXRDisplay();
2020
this.fakeXrDisplay.enable();
21-
this.cameraEnabled = true;
21+
this.cameraEnabled = window.xrTop;
2222

2323
new MutationObserver(async mutations => {
2424
await GlobalContext.loadPromise;

0 commit comments

Comments
 (0)