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

feat(zoom-scroll): add zoom by cmd + wheel on mac #806

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

webkadiz
Copy link
Contributor

@webkadiz webkadiz commented Oct 3, 2023

This PR adds support for zooming using cmd on the mac platform

It is clear that zooming with ctrl + wheel is most likely a side effect, since event.ctrlKey is also a directive for pinch zoom. but since there is a feature, why not create a more pleasant UX on Mac

@CLAassistant
Copy link

CLAassistant commented Oct 3, 2023

CLA assistant check
All committers have signed the CLA.

@barmac
Copy link
Member

barmac commented Oct 4, 2023

Hi,

Thanks for opening this PR.

I've done some tests in the other applications to confirm that we follow users' expectations. Below are the results.

application zoom handling
GIMP supports zoom with CMD
tldraw supports zoom with CMD
figma supports zoom with CMD
google maps zoom without CMD
excalidraw supports zoom with CMD

Based on above, I believe we should support CMD as an alternative key to trigger zoom scrolling. Thank you for implementing this!

@barmac barmac merged commit 282b844 into bpmn-io:develop Oct 4, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants