loleaflet/src/core/Socket.js | 2 ++ 1 file changed, 2 insertions(+) New commits: commit 115a6d69be6f320b16303b4ee0f552244348eab3 Author: Henry Castro <hcas...@collabora.com> AuthorDate: Wed Jul 3 00:04:29 2019 -0400 Commit: Henry Castro <hcas...@collabora.com> CommitDate: Tue Aug 20 16:44:18 2019 +0200
loleaflet: deselect graphic marker when socket closed Change-Id: Ib9c48614eeeea4a1a252cc0497b95739dd0725fe Reviewed-on: https://gerrit.libreoffice.org/77837 Reviewed-by: Henry Castro <hcas...@collabora.com> Tested-by: Henry Castro <hcas...@collabora.com> diff --git a/loleaflet/src/core/Socket.js b/loleaflet/src/core/Socket.js index 1b4ba67ca..c4ba559d1 100644 --- a/loleaflet/src/core/Socket.js +++ b/loleaflet/src/core/Socket.js @@ -847,6 +847,8 @@ L.Socket = L.Class.extend({ if (this._map._docLayer) { this._map._docLayer.removeAllViews(); this._map._docLayer._resetClientVisArea(); + this._map._docLayer._graphicSelection = null; + this._map._docLayer._onUpdateGraphicSelection(); } if (isActive && this._reconnecting) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits