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

[image-view] Add scroll support to zoom-in and zoom-out #1197

Open
wants to merge 11 commits into
base: updated-latest-electron
Choose a base branch
from
3 changes: 3 additions & 0 deletions packages/image-view/keymaps/image-view.cson
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
'cmd-=': 'image-view:zoom-in'
'cmd--': 'image-view:zoom-out'
'cmd-_': 'image-view:zoom-out'
'cmd-8': 'image-view:center'
'cmd-9': 'image-view:zoom-to-fit'
'cmd-0': 'image-view:reset-zoom'

Expand All @@ -11,6 +12,7 @@
'ctrl-=': 'image-view:zoom-in'
'ctrl--': 'image-view:zoom-out'
'ctrl-_': 'image-view:zoom-out'
'ctrl-8': 'image-view:center'
'ctrl-9': 'image-view:zoom-to-fit'
'ctrl-0': 'image-view:reset-zoom'

Expand All @@ -19,5 +21,6 @@
'ctrl-=': 'image-view:zoom-in'
'ctrl--': 'image-view:zoom-out'
'ctrl-_': 'image-view:zoom-out'
'ctrl-8': 'image-view:center'
'ctrl-9': 'image-view:zoom-to-fit'
'ctrl-0': 'image-view:reset-zoom'
Loading
Loading