Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed two examples bugs #4932

Merged
merged 3 commits into from
Nov 8, 2024
Merged

fixed two examples bugs #4932

merged 3 commits into from
Nov 8, 2024

Conversation

elalish
Copy link
Collaborator

@elalish elalish commented Nov 7, 2024

Apparently the trick in WebXR is to remember that we don't fullscreen the whole MV element, but just the slot that carries its children. This means you can't ask about the size of MV - it's still hidden on the old page. But in AR mode, you know you're always full-screen, so use those dimensions instead.

@elalish elalish self-assigned this Nov 7, 2024
@elalish elalish merged commit dd354f6 into master Nov 8, 2024
5 checks passed
@elalish elalish deleted the fixExample branch November 8, 2024 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant