From bbfc9dfad481693ac14b28430bd3b570901fb591 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Fri, 31 May 2013 20:45:17 +0400 Subject: [PATCH] some tweaking... Signed-off-by: Alex A. Naanou --- ui/data.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ui/data.js b/ui/data.js index 2652677a..8c0154d8 100755 --- a/ui/data.js +++ b/ui/data.js @@ -699,7 +699,8 @@ function updateImage(image, gid, size){ 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. // @@ -745,7 +746,7 @@ function updateImages(size, cmp){ return deferred } -/* +/* XXX for some very odd reason this is slower that the monster above... function updateImages(size){ size = size == null ? getVisibleImageSize('max') : size return $('.image')