mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
fixed bug with copy image path...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
a43422566e
commit
8bb6bd8686
@ -441,6 +441,10 @@ var ElectronHostActions = actions.Actions({
|
|||||||
//*/
|
//*/
|
||||||
var that = this
|
var that = this
|
||||||
var url = this.images.getBestPreview(this.current, size, true).url
|
var url = this.images.getBestPreview(this.current, size, true).url
|
||||||
|
// compatibility -- windows paths...
|
||||||
|
url = process.platform.startsWith('win') ?
|
||||||
|
url.replace(/\//g, '\\')
|
||||||
|
: url
|
||||||
img2canvas({
|
img2canvas({
|
||||||
url,
|
url,
|
||||||
...this.images[this.current]
|
...this.images[this.current]
|
||||||
|
|||||||
@ -300,6 +300,8 @@ module.Example = core.ImageGridFeatures.Feature({
|
|||||||
console.log('PRE')
|
console.log('PRE')
|
||||||
return function(){
|
return function(){
|
||||||
console.log('POST') } }],
|
console.log('POST') } }],
|
||||||
|
['exampleActionFull',
|
||||||
|
'exampleAction: "alias handler!" ... -- some doc...'],
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@ -606,12 +606,10 @@ var SharpActions = actions.Actions({
|
|||||||
console.log('### ABORT:\n ',
|
console.log('### ABORT:\n ',
|
||||||
logger && logger.log.length,
|
logger && logger.log.length,
|
||||||
reason, res)
|
reason, res)
|
||||||
/*
|
|
||||||
logger
|
logger
|
||||||
&& logger.emit('close')
|
&& logger.emit('close')
|
||||||
&& reason == 'aborted'
|
&& reason == 'aborted'
|
||||||
&& logger.emit(res)
|
&& logger.emit(res)
|
||||||
//*/
|
|
||||||
delete that.__cache_metadata_reading })
|
delete that.__cache_metadata_reading })
|
||||||
|
|
||||||
// handle logging and processing list...
|
// handle logging and processing list...
|
||||||
|
|||||||
@ -77,6 +77,7 @@ var ProgressActions = actions.Actions({
|
|||||||
],
|
],
|
||||||
close: [
|
close: [
|
||||||
'end',
|
'end',
|
||||||
|
'abort',
|
||||||
],
|
],
|
||||||
error: [
|
error: [
|
||||||
],
|
],
|
||||||
|
|||||||
21
Viewer/package-lock.json
generated
21
Viewer/package-lock.json
generated
@ -1073,18 +1073,11 @@
|
|||||||
"integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg=="
|
"integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg=="
|
||||||
},
|
},
|
||||||
"ig-actions": {
|
"ig-actions": {
|
||||||
"version": "3.24.11",
|
"version": "3.24.13",
|
||||||
"resolved": "https://registry.npmjs.org/ig-actions/-/ig-actions-3.24.11.tgz",
|
"resolved": "https://registry.npmjs.org/ig-actions/-/ig-actions-3.24.13.tgz",
|
||||||
"integrity": "sha512-KIe9qeNs+UYGpMQKijqGl6yjHhRGUss2mof323jS3/L11vzrALPRpyciWopSqhGQXsB/U8fXsr5cRbYaBW7+wA==",
|
"integrity": "sha512-x7+37fJ1wsdSl/VNb4W569IHiUx2SKtEr76PI6LxXOW3fRkv6/9KnDXJK8pL+XVO012oj096WatYK80aPUlLPQ==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"ig-object": "^3.0.0"
|
"ig-object": "^5.0.2"
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"ig-object": {
|
|
||||||
"version": "3.3.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/ig-object/-/ig-object-3.3.2.tgz",
|
|
||||||
"integrity": "sha512-O95A+n5F+ZAjp2buXfdblIITJ4E+DdSsFWp03CMb/jew8eNzhZ3dz8XhMKO67CXIKjqhZ+cahJygoT7ds0nBWA=="
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ig-argv": {
|
"ig-argv": {
|
||||||
@ -1117,9 +1110,9 @@
|
|||||||
"integrity": "sha512-WPPQ5C41c6q3tPfa2fBbWE2xcLF7LoGRu2E6Wr/aoA5oxAyl8lAuE7Kqt4TyPwfW9jVI0+ifBztg9e1tR5mG1Q=="
|
"integrity": "sha512-WPPQ5C41c6q3tPfa2fBbWE2xcLF7LoGRu2E6Wr/aoA5oxAyl8lAuE7Kqt4TyPwfW9jVI0+ifBztg9e1tR5mG1Q=="
|
||||||
},
|
},
|
||||||
"ig-types": {
|
"ig-types": {
|
||||||
"version": "4.1.0",
|
"version": "4.1.2",
|
||||||
"resolved": "https://registry.npmjs.org/ig-types/-/ig-types-4.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/ig-types/-/ig-types-4.1.2.tgz",
|
||||||
"integrity": "sha512-FTpXOA5bZUkRup1vJ4cD76/zkXPtjaFHLp9oNbP18qDUc0pEB/pLx8fdgNDwYGDWnFhetx0pMTuP11KOh2urTA==",
|
"integrity": "sha512-IYnuBWw7m7qvtW21ggoodFA++v+bHwNMqGRvo9w2IwfI3leVPbOORUC5CjUKb4q/ffGlCcT3gC7w+E/aO8BOTw==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"ig-object": "^5.4.11",
|
"ig-object": "^5.4.11",
|
||||||
"object-run": "^1.0.1"
|
"object-run": "^1.0.1"
|
||||||
|
|||||||
@ -28,11 +28,11 @@
|
|||||||
"generic-walk": "^1.4.0",
|
"generic-walk": "^1.4.0",
|
||||||
"glob": "^7.1.6",
|
"glob": "^7.1.6",
|
||||||
"guarantee-events": "^1.0.0",
|
"guarantee-events": "^1.0.0",
|
||||||
"ig-actions": "^3.24.11",
|
"ig-actions": "^3.24.13",
|
||||||
"ig-argv": "^2.15.0",
|
"ig-argv": "^2.15.0",
|
||||||
"ig-features": "^3.4.2",
|
"ig-features": "^3.4.2",
|
||||||
"ig-object": "^5.4.11",
|
"ig-object": "^5.4.11",
|
||||||
"ig-types": "^4.1.0",
|
"ig-types": "^4.1.2",
|
||||||
"moment": "^2.29.1",
|
"moment": "^2.29.1",
|
||||||
"object-run": "^1.0.1",
|
"object-run": "^1.0.1",
|
||||||
"requirejs": "^2.3.6",
|
"requirejs": "^2.3.6",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user