mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-11-01 03:40:09 +00:00
some cleanup and tweeking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
7c140244be
commit
faef26fd79
@ -356,7 +356,9 @@ function centerRibbon(ribbon, mode){
|
||||
|
||||
// a shorthand...
|
||||
function centerRibbons(mode){
|
||||
return $('.ribbon').each(function(){ centerRibbon($(this), mode) })
|
||||
return $('.ribbon')
|
||||
.filter(':visible')
|
||||
.each(function(){ centerRibbon($(this), mode) })
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -34,22 +34,10 @@ var KEYBOARD_CONFIG = {
|
||||
prevImage()
|
||||
centerRibbons()
|
||||
},
|
||||
// XXX prevScreenImages...
|
||||
ctrl: function(){
|
||||
prevScreenImages()
|
||||
centerRibbons()
|
||||
},
|
||||
// XXX need to keep shift explicitly clear for editor...
|
||||
/*
|
||||
shift: function(){
|
||||
toggleImageMark()
|
||||
prevImage()
|
||||
},
|
||||
// XXX mark screen images...
|
||||
'ctrl+shift': function(){
|
||||
console.log('NotImplemented: mark screen images back.')
|
||||
}
|
||||
*/
|
||||
},
|
||||
Right: {
|
||||
default: function(){
|
||||
@ -65,22 +53,10 @@ var KEYBOARD_CONFIG = {
|
||||
nextImage()
|
||||
centerRibbons()
|
||||
},
|
||||
// XXX nextScreenImages...
|
||||
ctrl: function(){
|
||||
nextScreenImages()
|
||||
centerRibbons()
|
||||
},
|
||||
// XXX need to keep shift explicitly clear for editor...
|
||||
/*
|
||||
shift: function(){
|
||||
toggleImageMark()
|
||||
nextImage()
|
||||
},
|
||||
// XXX mark screen images...
|
||||
'ctrl+shift': function(){
|
||||
console.log('NotImplemented: mark screen images forward.')
|
||||
}
|
||||
*/
|
||||
},
|
||||
Space: {
|
||||
default: 'Right',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user