mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-30 19:00:09 +00:00
tweaking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
39d8c59ad1
commit
221df6af57
@ -73,6 +73,9 @@ var KEYBOARD_CONFIG = {
|
|||||||
//
|
//
|
||||||
'.viewer.overlay .overlay-block.dialog': {
|
'.viewer.overlay .overlay-block.dialog': {
|
||||||
title: 'Dialog',
|
title: 'Dialog',
|
||||||
|
doc: 'NOTE: to <i>close</i> a dialog, in addition to the keyaboard '+
|
||||||
|
'shortcuts, one can also click anywhere outside the dialog.',
|
||||||
|
|
||||||
ignore: '*',
|
ignore: '*',
|
||||||
|
|
||||||
Enter: doc('Accept dialog',
|
Enter: doc('Accept dialog',
|
||||||
@ -603,8 +606,17 @@ var KEYBOARD_CONFIG = {
|
|||||||
// marking...
|
// marking...
|
||||||
ctrl: 'invert-marks',
|
ctrl: 'invert-marks',
|
||||||
},
|
},
|
||||||
P: doc('Show options',
|
P: {
|
||||||
|
default: doc('Show options',
|
||||||
function(){ toggleOptionsUI() }),
|
function(){ toggleOptionsUI() }),
|
||||||
|
ctrl: doc('Print keyboard help',
|
||||||
|
function(){
|
||||||
|
toggleKeyboardHelp('on')
|
||||||
|
// NOTE: on chrome this is blocking...
|
||||||
|
print()
|
||||||
|
toggleKeyboardHelp('off')
|
||||||
|
}),
|
||||||
|
},
|
||||||
|
|
||||||
// NOTE: this is handled by the wrapper at this point, so we do
|
// NOTE: this is handled by the wrapper at this point, so we do
|
||||||
// not have to do anything here...
|
// not have to do anything here...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user