mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
minor refactoring + docs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
6385660b09
commit
6bffb4db59
@ -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),
|
||||
|
||||
@ -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(){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user