[Libreoffice-commits] online.git: loleaflet/src
Mihai Varga
mihai.varga at collabora.com
Mon Aug 10 23:48:17 PDT 2015
loleaflet/src/layer/tile/TileLayer.js | 1 -
1 file changed, 1 deletion(-)
New commits:
commit 1708455928b02cebff9a501972811488fd717c2b
Author: Mihai Varga <mihai.varga at collabora.com>
Date: Tue Aug 11 09:44:54 2015 +0300
loleaflet: don't decrease emptyTilesCount when prefetching
from other parts
diff --git a/loleaflet/src/layer/tile/TileLayer.js b/loleaflet/src/layer/tile/TileLayer.js
index bcda4aa..f85b3d2 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -437,7 +437,6 @@ L.TileLayer = L.GridLayer.extend({
tile.el.src = img;
}
else if (command.preFetch === 'true') {
- this._emptyTilesCount -= 1;
this._tileCache[key] = img;
}
L.Log.log(textMsg, L.INCOMING, key);
More information about the Libreoffice-commits
mailing list