some fixes and tweaks...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2018-11-09 05:39:51 +03:00
parent 700e953026
commit 420765823f
3 changed files with 15 additions and 5 deletions

View File

@ -242,7 +242,7 @@ module.GLOBAL_KEYBOARD = {
// XXX experimental, not sure if wee need this with a keyboard...
T: 'rotateRibbonCCW -- Tilt ribbons counter clock wise',
shift_T: 'rotateRibbonCW -- Tilt ribbons clock wise',
alt_T: 'resetRibbonRotation -- Reset ribbon tilt',
ctrl_shift_T: 'resetRibbonRotation -- Reset ribbon tilt',
// NOTE: this is handled by the wrapper at this point, so we do

View File

@ -56,6 +56,7 @@ module.PersistentTags = core.ImageGridFeatures.Feature({
var TagUIActions = actions.Actions({
// XXX use global tag list... (???)
// XXX make this reusable...
showTagCloud: ['Tag|Edit|Image/$Tags...',
core.doc`
`,
@ -79,6 +80,7 @@ var TagUIActions = actions.Actions({
// XXX
var removeTag = function(tag){
console.log('REMOVE TAG:', tag)
// XXX
}
return browse.makeLister(null, function(path, make){
@ -108,8 +110,8 @@ var TagUIActions = actions.Actions({
e.css('opacity', on ? 0.3 : '')
on ?
that.data.untag(tag, gids)
: that.data.tag(tag, gids)
that.untag(tag, gids)
: that.tag(tag, gids)
},
buttons: [
// remove tag button...
@ -129,7 +131,7 @@ var TagUIActions = actions.Actions({
return
}
that.data.tag(tag, gids)
that.tag(tag, gids)
// update tag list...
make.dialog
@ -149,6 +151,10 @@ var TagUIActions = actions.Actions({
// XXX crop/filter by tags...
// XXX
cropTaggedFromCloud: ['-Tag|Crop/Crop tagged...',
widgets.makeUIDialog(function(){
// XXX
})],
})

View File

@ -1345,11 +1345,15 @@ var BrowseActionsActions = actions.Actions({
'Crop/-80:Uncrop and keep crop image order',
'Crop/-81:Uncrop all',
'Crop/-82:$Uncrop',
'Collec$tions',
'Co$llections',
'Collections/-50:.*exit.*',
'Collections/-60:.*edit.*',
'Collections/-70:---',
'Collections/-70:.*remove.*',
'$Tag',
// XXX revise...
'Tag/-80:---',
'Tag/-90:.*remove.*',
'$Mark',
'Mark/-75:.*collection...',
'Mark/-80:---',