mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
minor tweaking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
c1a6f90731
commit
a3d2f84cad
@ -70,11 +70,11 @@ module.GLOBAL_KEYBOARD = {
|
||||
'#0', '#1', '#2', '#3', '#4', '#5', '#6', '#7', '#8', '#9',
|
||||
],
|
||||
|
||||
'#1': 'fitScreen',
|
||||
// XXX use a means to scale that does not get affected by image
|
||||
// proportions...
|
||||
'#1': 'fitScreen',
|
||||
'#2': 'fitNormal',
|
||||
'#3': 'fitSmall',
|
||||
//'#2': 'fitNormal',
|
||||
//'#3': 'fitSmall',
|
||||
|
||||
Esc: 'toggleSingleImage: "off" -- Exit single image view',
|
||||
|
||||
|
||||
@ -592,15 +592,14 @@ module.ViewerActions = actions.Actions({
|
||||
this.ribbons.fitImage(count)
|
||||
this.refresh()
|
||||
}],
|
||||
|
||||
fitMax: ['Zoom/Fit the maximum number of images',
|
||||
function(){ this.fitImage(this.config['max-screen-images']) }],
|
||||
|
||||
|
||||
// XXX the question with these is how to make these relatively
|
||||
// similar across platforms...
|
||||
// ...for this we need to get display dpi...
|
||||
// XXX make this viewer/image proportion independent....
|
||||
fitSmall: ['Zoom/Show small image',
|
||||
function(){ this.fitImage(5, 0) }],
|
||||
// XXX make this viewer/image proportion independent....
|
||||
fitNormal: ['Zoom/Show normal image',
|
||||
function(){ this.fitImage(1.5, 0) }],
|
||||
fitScreen: ['Zoom/Fit image to screen',
|
||||
@ -892,6 +891,8 @@ module.SortUI = core.ImageGridFeatures.Feature({
|
||||
})
|
||||
|
||||
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
// XXX tag dialogs...
|
||||
// XXX
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user