From 98a3669d831e272b1a86547ecea53883f69b4220 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 9 Jan 2021 03:17:49 +0300 Subject: [PATCH] more notes.... Signed-off-by: Alex A. Naanou --- Viewer/features/sharp.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Viewer/features/sharp.js b/Viewer/features/sharp.js index ede57bff..986bf805 100755 --- a/Viewer/features/sharp.js +++ b/Viewer/features/sharp.js @@ -190,7 +190,13 @@ var SharpActions = actions.Actions({ // XXX revise return values... // XXX make backup name pattern configurable... // XXX CROP ready for crop support... - // XXX BUG? seems to create backups uncontrollably... + // XXX BUG? seams to create backups uncontrollably... + // to reproduce: + // ig.data.order.map(gid => ig.makeResizedImage(gid, 100, 'moo')) + // this will add each image at least twice... + // ...this might actually be an issue in .queueHandler(..), feels + // like we might be editing the array we are iterating over, + // needs more investigation... makeResizedImage: ['- Image/', core.doc`Make resized image(s)...