mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
several minor bugs squashed + updated todo...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
98ebfa64c2
commit
1eb23a65e1
@ -109,7 +109,11 @@ Roadmap
|
||||
|
||||
|
||||
[_] 32% Gen 3 current todo
|
||||
[_] 65% High priority
|
||||
[_] 64% High priority
|
||||
[_] BUG: preview generation progress reporting is broken...
|
||||
| - the progress bar is generated
|
||||
| - the previews are created
|
||||
| - no progress is reported
|
||||
[_] BUG: chrome 32 / nw 0.9.1: flicker on preview swap...
|
||||
| an image get's repainted black and only then the new preview
|
||||
| is loaded, this is barely noticeable for one image but slows
|
||||
|
||||
@ -388,6 +388,7 @@ if(window.CEF_dumpJSON != null){
|
||||
gids = gids == null ? getClosestGIDs() : gids
|
||||
|
||||
var queue = getWorkerQueue('Generate previews', 4)
|
||||
.filling()
|
||||
|
||||
// attach the workers to the queue...
|
||||
$.each(gids, function(_, gid){
|
||||
@ -397,7 +398,7 @@ if(window.CEF_dumpJSON != null){
|
||||
.always(function(){ console.log(gid, 'done') })
|
||||
})
|
||||
|
||||
return queue
|
||||
return queue.doneFilling()
|
||||
}
|
||||
|
||||
// format: "20130102-122315"
|
||||
|
||||
@ -1129,8 +1129,7 @@ function readImagesOrientationQ(gids, no_update_loaded){
|
||||
last = queue.enqueue(readImageOrientation, gid, no_update_loaded)
|
||||
})
|
||||
|
||||
queue.doneFilling()
|
||||
return queue
|
||||
return queue.doneFilling()
|
||||
}
|
||||
|
||||
|
||||
@ -1160,8 +1159,7 @@ function readImagesDatesQ(images){
|
||||
queue.enqueue(readImageDate, gid, images)
|
||||
})
|
||||
|
||||
queue.doneFilling()
|
||||
return queue
|
||||
return queue.doneFilling()
|
||||
}
|
||||
|
||||
|
||||
@ -1235,10 +1233,9 @@ function updateImagesGIDsQ(images, data){
|
||||
queue.enqueue(updateImageGID, key, images, data)
|
||||
})
|
||||
|
||||
queue.doneFilling()
|
||||
IMAGES_CREATED = true
|
||||
|
||||
return queue
|
||||
return queue.doneFilling()
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user