From 198e5b34610adf9fa7c5b3969f688894e4f2e6a3 Mon Sep 17 00:00:00 2001 From: Simon Green Date: Thu, 25 Aug 2016 13:44:12 -0600 Subject: [PATCH 1/2] Fix #1013 tiledImage. _needsDraw flag was only being set to true once the tile had been loaded which effectively made the initial tile loading sequential --- src/tiledimage.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tiledimage.js b/src/tiledimage.js index 6acfc08c..eff98b6c 100644 --- a/src/tiledimage.js +++ b/src/tiledimage.js @@ -947,6 +947,7 @@ function updateViewport( tiledImage ) { // Load the new 'best' tile if (best && !best.context2D) { loadTile( tiledImage, best, currentTime ); + tiledImage._needsDraw = true; tiledImage._setFullyLoaded(false); } else { tiledImage._setFullyLoaded(true); From e8324627e144f6e01ab1ce70cd88194fbab46487 Mon Sep 17 00:00:00 2001 From: Ian Gilman Date: Fri, 26 Aug 2016 10:00:35 -0700 Subject: [PATCH 2/2] Changelog for #1014 --- changelog.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/changelog.txt b/changelog.txt index 8a661e31..280a6516 100644 --- a/changelog.txt +++ b/changelog.txt @@ -10,6 +10,7 @@ OPENSEADRAGON CHANGELOG * The Viewer's tileSources option is now smarter about detecting JSON vs XML vs URL (#999) * The navigationControlAnchor option now works for custom toolbar as well (#1004) * Added getFullyLoaded method and "fully-loaded-change" event to TiledImage to know when tiles are fully loaded (#837) +* Fixed: Initial tile load wasn't happening in parallel (#1014) 2.2.1: