-
Notifications
You must be signed in to change notification settings - Fork 35
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
Add Apple Trackpad camera controls #3941
base: main
Are you sure you want to change the base?
Conversation
QA Wolf here! As you write new code it's important that your test coverage is keeping up. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3941 +/- ##
=======================================
Coverage 87.16% 87.16%
=======================================
Files 69 69
Lines 25176 25176
=======================================
Hits 21945 21945
Misses 3231 3231
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Omg yes! |
5e4fea4
to
cbf225b
Compare
cbf225b
to
ee7265b
Compare
ee7265b
to
6bb0274
Compare
6bb0274
to
98534fd
Compare
98534fd
to
01cbd95
Compare
Resolves #3112.
As stated in the issue, we're trying to mimic Apple Maps on macOS. Shift + push away on the trackpad should always zoom in. Unfortunately, only Safari provides the value of the OS setting for natural scroll direction w3c/uievents#57. On desktop, we're able to use a shell command to read it. The downside is that we don't detect if the user changes the setting while the app is open. I also don't know how to read this setting on Windows and Linux.
Home.tsx
.Multi-touch rotate (AKA twist).Would need to switch to touch events. I don't think it's worth it.