mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
added config toggler...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
9cc62b7aa3
commit
a8aaa01a24
@ -675,13 +675,6 @@ var CollectionActions = actions.Actions({
|
||||
})
|
||||
}
|
||||
} }],
|
||||
clear: [function(){
|
||||
this.collection
|
||||
&& this.collectionUnloaded('*')
|
||||
delete this.collections
|
||||
delete this.__collection_order
|
||||
delete this.location.collection
|
||||
}],
|
||||
clone: [function(full){
|
||||
return function(res){
|
||||
if(this.collections){
|
||||
@ -710,6 +703,18 @@ var CollectionActions = actions.Actions({
|
||||
}
|
||||
|
||||
} }],
|
||||
|
||||
clear: [function(){
|
||||
this.collection
|
||||
&& this.collectionUnloaded('*')
|
||||
delete this.collections
|
||||
delete this.__collection_order
|
||||
delete this.location.collection
|
||||
}],
|
||||
|
||||
// Config...
|
||||
toggleCollectionCropRetention: ['Interface/Collection crop save mode',
|
||||
core.makeConfigToggler('collection-save-crop-state', ['all', 'main', 'none'])],
|
||||
})
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user