minor refactoring + docs...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2016-06-21 05:43:14 +03:00
parent 6385660b09
commit 6bffb4db59
2 changed files with 4 additions and 3 deletions

View File

@ -84,14 +84,15 @@ module.GLOBAL_KEYBOARD = {
// zooming...
'#1': 'fitScreen',
// XXX should these also be implemented in the same way as 4-9???
'#2': {
default: 'fitNormal',
'alt': 'setNormalScale',
'alt': 'setNormalScale -- Set current image size as normal',
'ctrl+shift': 'setNormalScale: null -- Reset normal size to default',
},
'#3': {
default: 'fitSmall',
'alt': 'setSmallScale',
'alt': 'setSmallScale -- Set current image size as small',
'ctrl+shift': 'setSmallScale: null -- Reset small size to default',
},
'#4': customScale(4),

View File

@ -748,7 +748,7 @@ module.ViewerActions = actions.Actions({
// Zooming...
//
// Zooming is done by multiplying the current scale by config['zoom-step']
// Zooming is done by multiplying the current scale by .config['zoom-step']
// and rounding to nearest discrete number of images to fit on screen.
zoomIn: ['Zoom/Zoom in',
function(){