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

Zoom shortcuts for 25% up to 400% #1145

Merged
merged 2 commits into from Jan 1, 2019

Conversation

Projects
None yet
2 participants
@davidlamhauge
Copy link
Contributor

davidlamhauge commented Dec 21, 2018

This PR introduces zoom shortcuts for 25%, 33%, 50%, 200%, 300% and 400%. The shortcuts are set to Shift+4, Shift+3, Shift+2, 2, 3 and 4. In the menu it is below 'Zoom in' and 'Zoom out' in a submenu, so the menu doesn't look cluttered.
It can be argued that the mouse wheel can zoom fast, but not all tablet pens have wheels, and sometimes you want to go from 300% to 50% fast.
I think it will be a popular addition.

@davidlamhauge

This comment has been minimized.

Copy link
Contributor Author

davidlamhauge commented Dec 22, 2018

Added '1' as a shortcut for 100%. I thought about it yesterday, but today I decided it was needed.
The Ctrl+H shortcut resets to 100%, but it resets the rotation too, and if you draw at 300% it can be helpful to look at it at 100% and quickly go back to 300%, without resetting the rotation.

@chchwy chchwy merged commit b2d2cee into pencil2d:master Jan 1, 2019

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@chchwy chchwy added this to the 0.6.3 milestone Jan 7, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.