loleaflet/src/core/Socket.js | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 115a6d69be6f320b16303b4ee0f552244348eab3
Author: Henry Castro <[email protected]>
AuthorDate: Wed Jul 3 00:04:29 2019 -0400
Commit: Henry Castro <[email protected]>
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 <[email protected]>
Tested-by: Henry Castro <[email protected]>
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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits