mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-12-21 18:51:39 +00:00
minor tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
739ca6eb55
commit
d955933454
@ -73,10 +73,14 @@ module.GLOBAL_KEYBOARD = {
|
||||
// NOTE: these are for systems where F** keys are not available
|
||||
// or do other stuff...
|
||||
R: {
|
||||
default: 'reverseImages!',
|
||||
default: 'rotateCW',
|
||||
shift: 'reverseImages',
|
||||
ctrl: 'reload!',
|
||||
'ctrl+shift': 'F5',
|
||||
},
|
||||
L: 'rotateCCW',
|
||||
H: 'flipHorizontal',
|
||||
V: 'flipVertical',
|
||||
P: {
|
||||
'ctrl+shift': 'F12',
|
||||
},
|
||||
|
||||
@ -150,8 +150,6 @@ actions.Actions({
|
||||
function(img, list){
|
||||
this.data.focusImage(img, list)
|
||||
}],
|
||||
|
||||
|
||||
focusRibbon: ['Focus Ribbon',
|
||||
function(target){
|
||||
var data = this.data
|
||||
@ -177,11 +175,12 @@ actions.Actions({
|
||||
setBaseRibbon: ['Set base ribbon',
|
||||
function(target){ this.data.setBase(target) }],
|
||||
|
||||
// shorthands...
|
||||
// XXX do we reset direction on these???
|
||||
firstImage: ['Focus first image in current ribbon',
|
||||
function(all){ this.focusImage(all == null ? 'first' : 0) }],
|
||||
lastImage: ['Focus last image in current ribbon',
|
||||
function(all){ this.focusImage(all == null ? 'last' : -1) }],
|
||||
|
||||
firstGlobalImage: ['Get first globally image',
|
||||
function(){ this.firstImage(true) }],
|
||||
lastGlobalImage: ['Get last globally image',
|
||||
@ -228,7 +227,6 @@ actions.Actions({
|
||||
function(){ this.focusRibbon('first') }],
|
||||
lastRibbon: ['Focus next ribbon',
|
||||
function(){ this.focusRibbon('last') }],
|
||||
|
||||
prevRibbon: ['Focus previous ribbon',
|
||||
function(){ this.focusRibbon('before') }],
|
||||
nextRibbon: ['Focus next ribbon',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user