[Libreoffice-commits] online.git: Branch 'distro/collabora/milestone-4' - loleaflet/src
Mihai Varga
mihai.varga at collabora.com
Fri Aug 7 01:27:12 PDT 2015
loleaflet/src/layer/tile/TileLayer.js | 1 +
1 file changed, 1 insertion(+)
New commits:
commit fcdebfed0f4bdbb965ef39b3987c6c25b8c3610f
Author: Mihai Varga <mihai.varga at collabora.com>
Date: Fri Aug 7 11:26:20 2015 +0300
loleaflet: also set the status to 100% when all tiles are loaded
diff --git a/loleaflet/src/layer/tile/TileLayer.js b/loleaflet/src/layer/tile/TileLayer.js
index dfa0572..05a820f 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -428,6 +428,7 @@ L.TileLayer = L.GridLayer.extend({
this._emptyTilesCount -= 1;
if (this._emptyTilesCount === 0) {
this._map.fire('statusindicator', {statusType: 'alltilesloaded'});
+ this._map.fire('statusindicator', {statusType: 'setvalue', value: 100});
}
}
tile.el.src = img;
More information about the Libreoffice-commits
mailing list