mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-30 02:40:08 +00:00
some tweaking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
bb23f1563a
commit
bbfc9dfad4
@ -699,7 +699,8 @@ function updateImage(image, gid, size){
|
|||||||
|
|
||||||
|
|
||||||
var UPDATE_SORT_ENABLED = false
|
var UPDATE_SORT_ENABLED = false
|
||||||
var UPDATE_SYNC = false
|
// XXX for some reason the sync version appears to work faster...
|
||||||
|
var UPDATE_SYNC = true
|
||||||
|
|
||||||
// Same as updateImage(...) but will update all images.
|
// Same as updateImage(...) but will update all images.
|
||||||
//
|
//
|
||||||
@ -745,7 +746,7 @@ function updateImages(size, cmp){
|
|||||||
return deferred
|
return deferred
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/* XXX for some very odd reason this is slower that the monster above...
|
||||||
function updateImages(size){
|
function updateImages(size){
|
||||||
size = size == null ? getVisibleImageSize('max') : size
|
size = size == null ? getVisibleImageSize('max') : size
|
||||||
return $('.image')
|
return $('.image')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user