tweaking the crop/tag menu...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2018-11-16 04:08:00 +03:00
parent f41d77a022
commit 58ddd97a69
3 changed files with 12 additions and 5 deletions

View File

@ -1695,7 +1695,7 @@ module.CropActions = actions.Actions({
function(restore_current){ this.uncrop('all', restore_current) }], function(restore_current){ this.uncrop('all', restore_current) }],
// XXX see if we need to do this on this level?? // XXX see if we need to do this on this level??
// ...might be a good idea to do this in data... // ...might be a good idea to do this in data...
uncropAndKeepOrder: ['Crop|Edit/Uncrop and keep crop image order', { uncropAndKeepOrder: ['Crop|Edit/Uncrop keeping image order', {
journal: true, journal: true,
browseMode: 'uncrop'}, browseMode: 'uncrop'},
function(level, restore_current){ this.uncrop(level, restore_current, true) }], function(level, restore_current){ this.uncrop(level, restore_current, true) }],

View File

@ -2747,7 +2747,7 @@ var UICollectionActions = actions.Actions({
that.crop(images, false) that.crop(images, false)
}) })
}, null, false)], }, null, false)],
cropOutImagesInCollection: ['Collections|Crop/Crop $out images in collec$tion...', cropOutImagesInCollection: ['Collections|Crop/Remove collection images from crop...',
{browseMode: 'cropImagesInCollection'}, {browseMode: 'cropImagesInCollection'},
mixedModeCollectionAction(function(title){ mixedModeCollectionAction(function(title){
var that = this var that = this

View File

@ -1323,6 +1323,8 @@ var BrowseActionsActions = actions.Actions({
// this is not a bug... // this is not a bug...
'Crop/60:crop .*ribbon.*', 'Crop/60:crop .*ribbon.*',
'Crop/60:.*tag.*',
// The rest of the elements in the path will get added // The rest of the elements in the path will get added
// between the positive and negative prioritized items... // between the positive and negative prioritized items...
// ... // ...
@ -1339,10 +1341,15 @@ var BrowseActionsActions = actions.Actions({
'Crop/-70:---', 'Crop/-70:---',
//*/ //*/
'Crop/-70:---', 'Crop/-50:---',
'Crop/-70:.*remove.*', 'Crop/-60:Remove from crop',
'Crop/-70:Remove ribbon.*',
'Crop/-71:Remove marked.*',
'Crop/-72:.*remove.*',
'Crop/-80:Uncrop and keep crop image order', 'Crop/-75:---',
'Crop/-80:Uncrop keeping image order',
'Crop/-81:Uncrop all', 'Crop/-81:Uncrop all',
'Crop/-82:$Uncrop', 'Crop/-82:$Uncrop',
'Co$llections', 'Co$llections',