loleaflet/src/core/Socket.js | 1 + loleaflet/src/map/Map.js | 2 ++ 2 files changed, 3 insertions(+)
New commits: commit ab7943edd6dff69d729bfd5fb042c3483d449102 Author: Tamás Zolnai <tamas.zol...@collabora.com> AuthorDate: Wed Aug 29 23:26:26 2018 +0200 Commit: Tamás Zolnai <tamas.zol...@collabora.com> CommitDate: Wed Aug 29 23:34:05 2018 +0200 Make tilerendering working again after connection lost diff --git a/loleaflet/src/core/Socket.js b/loleaflet/src/core/Socket.js index cbeebb435..1208e6e75 100644 --- a/loleaflet/src/core/Socket.js +++ b/loleaflet/src/core/Socket.js @@ -761,6 +761,7 @@ L.Socket = L.Class.extend({ else if (this._reconnecting) { // we are reconnecting ... this._reconnecting = false; + this._map._docLayer.viewReset(); this._map._docLayer._onMessage('invalidatetiles: EMPTY', null); this._map.fire('statusindicator', {statusType: 'reconnected'}); this._map.setPermission(this._map.options.permission); diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js index ca842afc5..0a4a4662b 100644 --- a/loleaflet/src/map/Map.js +++ b/loleaflet/src/map/Map.js @@ -823,6 +823,8 @@ L.Map = L.Evented.extend({ this._active = true; if (this._docLayer) { this._docLayer._onMessage('invalidatetiles: EMPTY', null); + this._docLayer._clientVisibleArea = ''; + this._docLayer._clientZoom = ''; } if (vex.dialogID > 0) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits