loleaflet/src/layer/tile/CalcTileLayer.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit cdde0237f4f961a6c1575fda4b9151439a926c6a Author: Dennis Francis <dennis.fran...@collabora.com> AuthorDate: Fri May 15 22:05:44 2020 +0530 Commit: Dennis Francis <dennis.fran...@collabora.com> CommitDate: Sun Jul 5 09:58:30 2020 +0200 Don't ask core for sheet-geometry data for invalidateheader msgs We may need to have a dedicated sheetgeometrychanged msg for geometry changes like change of col/row sizes, hidden/filtered, groups/outline states. Change-Id: I45a8038546c66797aed4b58f11c6450cbe6e2965 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97945 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Dennis Francis <dennis.fran...@collabora.com> diff --git a/loleaflet/src/layer/tile/CalcTileLayer.js b/loleaflet/src/layer/tile/CalcTileLayer.js index 2252f2116..b7ad0a7f5 100644 --- a/loleaflet/src/layer/tile/CalcTileLayer.js +++ b/loleaflet/src/layer/tile/CalcTileLayer.js @@ -269,15 +269,15 @@ L.CalcTileLayer = L.TileLayer.extend({ } } else if (textMsg.startsWith('invalidateheader: column')) { this.refreshViewData({x: this._map._getTopLeftPoint().x, y: 0, - offset: {x: undefined, y: 0}}, true /* sheetGeometryChanged */); + offset: {x: undefined, y: 0}}); this._map._socket.sendMessage('commandvalues command=.uno:ViewAnnotationsPosition'); } else if (textMsg.startsWith('invalidateheader: row')) { this.refreshViewData({x: 0, y: this._map._getTopLeftPoint().y, - offset: {x: 0, y: undefined}}, true /* sheetGeometryChanged */); + offset: {x: 0, y: undefined}}); this._map._socket.sendMessage('commandvalues command=.uno:ViewAnnotationsPosition'); } else if (textMsg.startsWith('invalidateheader: all')) { this.refreshViewData({x: this._map._getTopLeftPoint().x, y: this._map._getTopLeftPoint().y, - offset: {x: undefined, y: undefined}}, true /* sheetGeometryChanged */); + offset: {x: undefined, y: undefined}}); this._map._socket.sendMessage('commandvalues command=.uno:ViewAnnotationsPosition'); } else { L.TileLayer.prototype._onMessage.call(this, textMsg, img); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits