[Libreoffice-commits] online.git: loleaflet/src

Mihai Varga mihai.varga at collabora.com
Mon May 25 07:36:40 PDT 2015


 loleaflet/src/layer/tile/TileLayer.js |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 57cb4fe24386fd9191b8e18e5de3b78bebebd20e
Author: Mihai Varga <mihai.varga at collabora.com>
Date:   Mon May 25 17:36:18 2015 +0300

    Prune tiles after switching parts

diff --git a/loleaflet/src/layer/tile/TileLayer.js b/loleaflet/src/layer/tile/TileLayer.js
index 1afc87d..a181c6f 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -472,6 +472,7 @@ L.TileLayer = L.GridLayer.extend({
 			this._currentPart = (this._currentPart + 1) % this._parts;
 		}
 		this._update();
+		this._pruneTiles();
 	}
 });
 


More information about the Libreoffice-commits mailing list