mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
notes and tweaking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
df2316e54b
commit
a575b45784
@ -1698,6 +1698,7 @@ module.FileSystemLoaderURLHistoryUI = core.ImageGridFeatures.Feature({
|
|||||||
var EXPORT_PREVIEW_NAME = '%(fav)l%n%(-%c)c'
|
var EXPORT_PREVIEW_NAME = '%(fav)l%n%(-%c)c'
|
||||||
|
|
||||||
|
|
||||||
|
// XXX rename: 'clean-target' -> 'merge-to-target'
|
||||||
var FileSystemWriterActions = actions.Actions({
|
var FileSystemWriterActions = actions.Actions({
|
||||||
config: {
|
config: {
|
||||||
|
|
||||||
@ -1706,6 +1707,7 @@ var FileSystemWriterActions = actions.Actions({
|
|||||||
'path': null,
|
'path': null,
|
||||||
|
|
||||||
'include-virtual': true,
|
'include-virtual': true,
|
||||||
|
// XXX rename to 'merge-to-target'
|
||||||
'clean-target': true,
|
'clean-target': true,
|
||||||
|
|
||||||
// NOTE: file extension is added automatically...
|
// NOTE: file extension is added automatically...
|
||||||
@ -3161,12 +3163,15 @@ var FileSystemWriterUIActions = actions.Actions({
|
|||||||
date = date ?
|
date = date ?
|
||||||
date + ' - '
|
date + ' - '
|
||||||
: ''
|
: ''
|
||||||
|
var clean = preset['clean-target'] ?
|
||||||
|
''
|
||||||
|
: ' (merge)'
|
||||||
return date
|
return date
|
||||||
+ (preset.name
|
+ (preset.name
|
||||||
|| ( preset.mode == 'Images only' ?
|
|| ( preset.mode == 'Images only' ?
|
||||||
`${ preset.mode }: `
|
`${ preset.mode }: `
|
||||||
+`"${ preset['preview-name-pattern'] }" → "${ preset.path }"`
|
+`"${ preset['preview-name-pattern'] }" → "${ preset.path }"${ clean }`
|
||||||
: `${ preset.mode }: → "${ preset.path }"`)) }
|
: `${ preset.mode }: → "${ preset.path }"${ clean }`)) }
|
||||||
|
|
||||||
var buildIndex = function(presets){
|
var buildIndex = function(presets){
|
||||||
var index
|
var index
|
||||||
@ -3335,7 +3340,7 @@ var FileSystemWriterUIActions = actions.Actions({
|
|||||||
.run(function(){
|
.run(function(){
|
||||||
var that = this
|
var that = this
|
||||||
this.keyboard.on('E', function(){
|
this.keyboard.on('E', function(){
|
||||||
// XXX
|
// XXX trigger edit/view button...
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
// save things after we are done...
|
// save things after we are done...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user