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

Toggle fullscreen on pinch to zoom #1148

Merged
merged 1 commit into from Mar 8, 2017
Merged

Conversation

ebraminio
Copy link
Contributor

@ebraminio ebraminio commented Mar 8, 2017

This patch makes webtorrent to do fullscreen (maximize/unmaximize) when pinch to zoom event (two finger zoom in/out gesture) happened on macOS instead probably less meaningful zoom. Have a look here for more info about the approach.

To test this, open webtorrent on mac and do two finger zoom on webtorrent window with and without this patch. The intended gesture matches VLC on pinch to zoom action.

I hope you find this useful. Thanks!

@ebraminio ebraminio force-pushed the master branch 6 times, most recently from 9253a88 to 69ce07f Compare March 8, 2017 19:35
@ebraminio ebraminio changed the title Do fullscreen toggle on macOS pinch to zoom Toggle fullscreen on pinch to zoom Mar 8, 2017
@feross feross merged commit 69ce07f into webtorrent:master Mar 8, 2017
@feross
Copy link
Member

feross commented Mar 8, 2017

Thanks, looks good!

@lock lock bot locked as resolved and limited conversation to collaborators May 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants