[Libreoffice-commits] online.git: Branch 'feature/latency' - loleaflet/src

Tamás Zolnai tamas.zolnai at collabora.com
Tue Jun 19 14:08:40 UTC 2018


 loleaflet/src/layer/tile/CalcTileLayer.js |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

New commits:
commit 51e071475cfa5f80465014cea72ee675f73c60b4
Author: Tamás Zolnai <tamas.zolnai at collabora.com>
Date:   Tue Jun 19 16:03:34 2018 +0200

    Update calc related code to use the new update function
    
    Change-Id: I437aa0f486237b110cf6a86d8c6091c4a79934ac

diff --git a/loleaflet/src/layer/tile/CalcTileLayer.js b/loleaflet/src/layer/tile/CalcTileLayer.js
index 3e0bf2dfa..10cdb155b 100644
--- a/loleaflet/src/layer/tile/CalcTileLayer.js
+++ b/loleaflet/src/layer/tile/CalcTileLayer.js
@@ -315,11 +315,7 @@ L.CalcTileLayer = L.TileLayer.extend({
 	},
 
 	_onZoomRowColumns: function () {
-		this._updateClientZoom();
-		if (this._clientZoom) {
-			this._map._socket.sendMessage('clientzoom ' + this._clientZoom);
-			this._clientZoom = null;
-		}
+		this._sendClientZoom();
 		// TODO: test it!
 		this._map.fire('updaterowcolumnheaders');
 	},


More information about the Libreoffice-commits mailing list