mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
cleanup, tweaking and added separators to .config['action-category-order']...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
f1c4d558ea
commit
ac81e26efe
@ -336,6 +336,13 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* hide first/last separators... */
|
||||||
|
.browse-widget .list>hr.separator:first-child,
|
||||||
|
.browse-widget .list>hr.separator:last-child {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/****************************************************** Cloud List ***/
|
/****************************************************** Cloud List ***/
|
||||||
|
|
||||||
|
|||||||
@ -873,7 +873,7 @@ module.CropActions = actions.Actions({
|
|||||||
|
|
||||||
// crop...
|
// crop...
|
||||||
//
|
//
|
||||||
crop: ['- Crop/Crop image list',
|
crop: ['Crop/Crop',
|
||||||
function(list, flatten){
|
function(list, flatten){
|
||||||
list = list || this.data.getImages()
|
list = list || this.data.getImages()
|
||||||
|
|
||||||
|
|||||||
@ -766,7 +766,10 @@ var BrowseActionsActions = actions.Actions({
|
|||||||
'50:Crop',
|
'50:Crop',
|
||||||
'Crop/80:Crop marked images',
|
'Crop/80:Crop marked images',
|
||||||
'Crop/80:Crop bookmarked images',
|
'Crop/80:Crop bookmarked images',
|
||||||
'Crop/70:Flatten',
|
// NOTE: we can also add separators here...
|
||||||
|
//'Crop/70:---',
|
||||||
|
'Crop/60:Crop',
|
||||||
|
'Crop/50:Flatten',
|
||||||
// ...
|
// ...
|
||||||
'Crop/-80:Uncrop and keep crop image order',
|
'Crop/-80:Uncrop and keep crop image order',
|
||||||
'Crop/-81:Uncrop all',
|
'Crop/-81:Uncrop all',
|
||||||
@ -775,7 +778,8 @@ var BrowseActionsActions = actions.Actions({
|
|||||||
'-50:Interface',
|
'-50:Interface',
|
||||||
'-60:Workspace',
|
'-60:Workspace',
|
||||||
'-70:System',
|
'-70:System',
|
||||||
'-80:Development',
|
'-80:---',
|
||||||
|
'-90:Development',
|
||||||
'-90:Test',
|
'-90:Test',
|
||||||
],
|
],
|
||||||
|
|
||||||
@ -1109,6 +1113,10 @@ var BrowseActionsActions = actions.Actions({
|
|||||||
|| (cur[key] != null
|
|| (cur[key] != null
|
||||||
&& Object.keys(cur[key]).length > 0)){
|
&& Object.keys(cur[key]).length > 0)){
|
||||||
make(text + '/')
|
make(text + '/')
|
||||||
|
|
||||||
|
// item: line...
|
||||||
|
} else if(text == '---'){
|
||||||
|
make(text)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user