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

make zooming consistent and better support for keypad keys #1285

Merged
merged 2 commits into from
Nov 21, 2024

Conversation

Doublonmousse
Copy link
Collaborator

@Doublonmousse Doublonmousse commented Nov 9, 2024

make zoom consistent

Take 1/zoom_in for zoom_out so that doing one zoom in then one zoom out ends up back to the same place

add more accelerators for zoom and keypad

  • accelerator to reset zoom : ctrl + 0 (be it on the keyboard or numpad)
  • added accelerators for keypad 1 to 6 for the selection of tools
  • add ctrl + = for zoom in
  • add ctrl + + and ctrl + - for + and - the numpad keys

Fixes #1280 (and related to #1180)

make zoom consistent

Take 1/zoom_in for zoom_out so that doing one zoom in then one zoom out ends up back to the same place

add more accelerators for zoom and keypad

- accelerator to reset zoom : ctrl + 0 (be it on the keyboard or numpad)
- added accelerators for keypad 1 to 6 for the selection of tools
- add `ctrl + =` for zoom in
- add `ctrl + +` and `ctrl + -` for + and -  the numpad keys
@Kneemund
Copy link
Collaborator

Kneemund commented Nov 9, 2024

Totally forgot about accelerators in #1274, nice catch.

@flxzt
Copy link
Owner

flxzt commented Nov 21, 2024

both the improved zoom calculations and the added shortcuts are nice improvements, thanks!

@flxzt flxzt merged commit 45229cb into flxzt:main Nov 21, 2024
2 checks passed
@Doublonmousse Doublonmousse deleted the fix_zoom_and_numpad branch December 14, 2024 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants