loleaflet/src/core/Socket.js | 1 + loleaflet/src/map/Map.js | 1 + 2 files changed, 2 insertions(+)
New commits: commit b4d4c78a01a119865a2ec16be19d6262c9aa4dd3 Author: Tamás Zolnai <tamas.zol...@collabora.com> AuthorDate: Wed Sep 12 10:27:45 2018 +0200 Commit: Jan Holesovsky <ke...@collabora.com> CommitDate: Wed Sep 12 17:23:18 2018 +0200 loleaflet: Need to call _update after invalidatetiles-all Earlier invalidatiles was requested the new tiles too, but now invalidatetiles + _update makes to request all the visible tiles. Change-Id: Ib3a07f748d270056d5f30cdb1731b6cf4e63c3ef Reviewed-on: https://gerrit.libreoffice.org/60379 Reviewed-by: Jan Holesovsky <ke...@collabora.com> Tested-by: Jan Holesovsky <ke...@collabora.com> diff --git a/loleaflet/src/core/Socket.js b/loleaflet/src/core/Socket.js index 21b0922c1..7e138b511 100644 --- a/loleaflet/src/core/Socket.js +++ b/loleaflet/src/core/Socket.js @@ -751,6 +751,7 @@ L.Socket = L.Class.extend({ this._reconnecting = false; this._map._docLayer._resetClientVisArea(); this._map._docLayer._onMessage('invalidatetiles: EMPTY', null); + this._map._docLayer._update(); 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 944c9928f..daa90f9b5 100644 --- a/loleaflet/src/map/Map.js +++ b/loleaflet/src/map/Map.js @@ -849,6 +849,7 @@ L.Map = L.Evented.extend({ this._docLayer._onMessage('invalidatetiles: EMPTY', null); this._docLayer._clientVisibleArea = ''; this._docLayer._clientZoom = ''; + this._docLayer._update(); } if (vex.dialogID > 0) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits