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

Improve context menu gesture to incorporate gaze, correctly trigger selectcancel events when the context menu is shown #145

Merged
merged 2 commits into from Mar 31, 2020

Conversation

@Manishearth
Copy link
Member

Manishearth commented Mar 31, 2020

This changes the context menu gesture to be "looking straight at palm, with palm facing you" (easiest way to do this is hold the palm straight up in front of your face), which was suggested by Alex earlier. It also triggers the cancel events correctly so that when the context menu is exited the application doesn't think there was a continuous select event while the menu was shown.

This may make less sense for WinMR devices, but I can add a direct menu button press for those.
r? @jdm

@jdm
Copy link
Member

jdm commented Mar 31, 2020

@bors-servo
Copy link
Contributor

bors-servo commented Mar 31, 2020

📌 Commit e137c4b has been approved by jdm

@bors-servo
Copy link
Contributor

bors-servo commented Mar 31, 2020

Testing commit e137c4b with merge 412f385...

@bors-servo
Copy link
Contributor

bors-servo commented Mar 31, 2020

☀️ Test successful - checks-travis
Approved by: jdm
Pushing 412f385 to master...

@bors-servo bors-servo merged commit 412f385 into servo:master Mar 31, 2020
3 checks passed
3 checks passed
Travis CI - Pull Request Build Passed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.