mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
minor tweaking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
4cf1b8e1ce
commit
e04b8af51f
@ -179,8 +179,6 @@ function getKeyHandlers(key, modifiers, keybindings, modes, shifted_keys){
|
||||
|
||||
for(var mode in keybindings){
|
||||
|
||||
//console.log('>>>', mode)
|
||||
|
||||
// test for mode compatibility...
|
||||
// XXX this fails for explicitly given mode...
|
||||
if(modes != 'all'
|
||||
@ -257,8 +255,6 @@ function getKeyHandlers(key, modifiers, keybindings, modes, shifted_keys){
|
||||
continue
|
||||
}
|
||||
|
||||
//console.log('<<<', mode, did_handling)
|
||||
|
||||
// complex handler...
|
||||
if(typeof(handler) == typeof({}) && handler.constructor.name == 'Object'){
|
||||
// build modifier list...
|
||||
@ -294,7 +290,6 @@ function getKeyHandlers(key, modifiers, keybindings, modes, shifted_keys){
|
||||
}
|
||||
|
||||
if(modes != 'all' && did_handling){
|
||||
//console.log('!!!!', mode)
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
@ -164,6 +164,8 @@ var toggleSingleImageMode = createCSSClassToggler(
|
||||
var i = SETTINGS['image-info-ribbon-mode'] == 'on' ? 'on' : 'off'
|
||||
toggleImageInfo(i)
|
||||
SETTINGS['image-info-ribbon-mode'] = i
|
||||
|
||||
centerRibbons()
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user