tweaking...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-06-20 02:54:31 +04:00
parent 39d8c59ad1
commit 221df6af57

View File

@ -73,6 +73,9 @@ var KEYBOARD_CONFIG = {
//
'.viewer.overlay .overlay-block.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: '*',
Enter: doc('Accept dialog',
@ -603,8 +606,17 @@ var KEYBOARD_CONFIG = {
// marking...
ctrl: 'invert-marks',
},
P: doc('Show options',
function(){ toggleOptionsUI() }),
P: {
default: doc('Show options',
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
// not have to do anything here...