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

Make cameras sample mobile friendly #325

Merged
merged 1 commit into from
Nov 14, 2023

Conversation

beaufortfrancois
Copy link
Collaborator

This PR makes cameras sample mobile friendly by using pointer events instead of mouse desktop events when appropriate. It also makes sure those events apply only to the canvas as it currently applies to the entire window, which is confusing even on desktop.
Lastly, it fixes a typo.

FYI @ben-clayton

Copy link
Collaborator

@ben-clayton ben-clayton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was on my TODO list. Thanks!

@ben-clayton ben-clayton merged commit f742f58 into webgpu:main Nov 14, 2023
1 check passed
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.

2 participants