minor tweaks...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-01-29 00:58:25 +03:00
parent 3eb64ccdab
commit 4a9b4d5fdc
2 changed files with 15 additions and 14 deletions

View File

@ -467,19 +467,8 @@ actions.Actions({
prevImage: ['Navigate/Previous image',
core.doc`Focus previous image
Focus previous image...
.prevImage()
Focus image at <offset> to the left...
.prevImage(<offset>)
Focus previous image in <ribbon>...
.prevImage(<ribbon>)
Focus previous image globally...
.prevImage('global')
NOTE: this also modifies .direction
NOTE: this is .symmetrical to .nextImage(..) see it for docs.
`,
{browseMode: 'firstImage'},
function(a){
@ -499,7 +488,19 @@ actions.Actions({
nextImage: ['Navigate/Next image',
core.doc`Focus next image...
NOTE: this is .symmetrical to .prevImage(..) see it for docs.
Focus next image...
.nextImage()
Focus image at <offset> to the right...
.nextImage(<offset>)
Focus next image in <ribbon>...
.nextImage(<ribbon>)
Focus next image globally...
.nextImage('global')
NOTE: this also modifies .direction
`,
{browseMode: 'lastImage'},
function(a){

View File

@ -594,7 +594,7 @@ var DialogsActions = actions.Actions({
showDoc: ['Help/Action help...',
makeUIDialog(function(actions){
var that = this
actions = actions || this.actions
actions = actions || this.actions.sort()
actions = actions instanceof Array ? actions : [actions]
var doc = this.getDoc(actions)