mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
tweaks to menues...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
a948275934
commit
cc1c81747a
@ -430,12 +430,6 @@ var BrowserHostActions = actions.Actions({
|
|||||||
copy: ['Image|Edit/Copy image',
|
copy: ['Image|Edit/Copy image',
|
||||||
core.doc`Copy image
|
core.doc`Copy image
|
||||||
|
|
||||||
Copy current image (original ref)...
|
|
||||||
.copy()
|
|
||||||
|
|
||||||
Copy best matching preview of current image...
|
|
||||||
.copy(size)
|
|
||||||
|
|
||||||
NOTE: this must be called from within an event handler...
|
NOTE: this must be called from within an event handler...
|
||||||
NOTE: this will not work with file:// paths...
|
NOTE: this will not work with file:// paths...
|
||||||
`,
|
`,
|
||||||
|
|||||||
@ -43,7 +43,6 @@ core.ImageGridFeatures.Feature('imagegrid-ui-minimal', [
|
|||||||
'keyboard',
|
'keyboard',
|
||||||
'ui-cursor',
|
'ui-cursor',
|
||||||
'ui-control',
|
'ui-control',
|
||||||
//'ui-copy-image',
|
|
||||||
'ui-drag-n-drop',
|
'ui-drag-n-drop',
|
||||||
|
|
||||||
// XXX use one...
|
// XXX use one...
|
||||||
|
|||||||
@ -2199,6 +2199,7 @@ var BrowseActionsActions = actions.Actions({
|
|||||||
'99:$Edit',
|
'99:$Edit',
|
||||||
'Edit/90:Undo',
|
'Edit/90:Undo',
|
||||||
'Edit/90:Redo',
|
'Edit/90:Redo',
|
||||||
|
'Edit/85:$Copy image',
|
||||||
'Edit/85:.*copy.*',
|
'Edit/85:.*copy.*',
|
||||||
'Edit/85:.*paste.*',
|
'Edit/85:.*paste.*',
|
||||||
'Edit/85:.*base.*',
|
'Edit/85:.*base.*',
|
||||||
@ -2214,8 +2215,9 @@ var BrowseActionsActions = actions.Actions({
|
|||||||
'Navigate/80:.*screen.*',
|
'Navigate/80:.*screen.*',
|
||||||
'Navigate/70:.*ribbon.*',
|
'Navigate/70:.*ribbon.*',
|
||||||
'$Image',
|
'$Image',
|
||||||
'Image/98:.*copy.*',
|
'Image/99:$Copy image',
|
||||||
'Image/98:.*paste.*',
|
'Image/99:.*copy.*',
|
||||||
|
'Image/99:.*paste.*',
|
||||||
'Image/98:.*editor.*',
|
'Image/98:.*editor.*',
|
||||||
'Image/98:.*folder.*',
|
'Image/98:.*folder.*',
|
||||||
'Image/95:.*metadata.*',
|
'Image/95:.*metadata.*',
|
||||||
|
|||||||
@ -1165,12 +1165,21 @@ module.CopyImiage = core.ImageGridFeatures.Feature({
|
|||||||
|
|
||||||
actions: actions.Actions({
|
actions: actions.Actions({
|
||||||
// XXX mark copied image(s)...
|
// XXX mark copied image(s)...
|
||||||
copy: ['- Image|Edit/Copy image',
|
copy: ['- Image|Edit/$Copy image',
|
||||||
|
core.doc`Copy image
|
||||||
|
|
||||||
|
Copy current image...
|
||||||
|
.copy()
|
||||||
|
|
||||||
|
Copy best matching preview of current image...
|
||||||
|
.copy(size)
|
||||||
|
|
||||||
|
`,
|
||||||
function(size){
|
function(size){
|
||||||
// XXX
|
// XXX
|
||||||
}],
|
}],
|
||||||
// XXX if pasted image(s) is the one(s) marked by copy, do a shift action...
|
// XXX if pasted image(s) is the one(s) marked by copy, do a shift action...
|
||||||
paste: ['- Image|Edit/Paste image',
|
paste: ['- Image|Edit/$Paste image',
|
||||||
function(){
|
function(){
|
||||||
// XXX
|
// XXX
|
||||||
}],
|
}],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user