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

Add Apple Trackpad camera controls #3941

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Add Apple Trackpad camera controls #3941

wants to merge 3 commits into from

Conversation

jtran
Copy link
Contributor

@jtran jtran commented Sep 21, 2024

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.

  • When should we load the OS setting?
  • Pinch to zoom
  • Multi-touch rotate

Copy link

qa-wolf bot commented Sep 21, 2024

QA Wolf here! As you write new code it's important that your test coverage is keeping up.
Click here to request test coverage for this PR!

Copy link

vercel bot commented Sep 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
modeling-app ✅ Ready (Inspect) Visit Preview Sep 21, 2024 0:45am

Copy link

codecov bot commented Sep 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.15%. Comparing base (3e79b90) to head (6b74d89).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3941   +/-   ##
=======================================
  Coverage   87.15%   87.15%           
=======================================
  Files          69       69           
  Lines       25121    25121           
=======================================
  Hits        21894    21894           
  Misses       3227     3227           
Flag Coverage Δ
wasm-lib 87.15% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jessfraz
Copy link
Contributor

Omg yes!

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.

First-class Apple trackpad support
2 participants