mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-11-01 20:00:10 +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...
|
// a shorthand...
|
||||||
function centerRibbons(mode){
|
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()
|
prevImage()
|
||||||
centerRibbons()
|
centerRibbons()
|
||||||
},
|
},
|
||||||
// XXX prevScreenImages...
|
|
||||||
ctrl: function(){
|
ctrl: function(){
|
||||||
prevScreenImages()
|
prevScreenImages()
|
||||||
centerRibbons()
|
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: {
|
Right: {
|
||||||
default: function(){
|
default: function(){
|
||||||
@ -65,22 +53,10 @@ var KEYBOARD_CONFIG = {
|
|||||||
nextImage()
|
nextImage()
|
||||||
centerRibbons()
|
centerRibbons()
|
||||||
},
|
},
|
||||||
// XXX nextScreenImages...
|
|
||||||
ctrl: function(){
|
ctrl: function(){
|
||||||
nextScreenImages()
|
nextScreenImages()
|
||||||
centerRibbons()
|
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: {
|
Space: {
|
||||||
default: 'Right',
|
default: 'Right',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user