[Libreoffice-commits] online.git: loleaflet/src

Henry Castro (via logerrit) logerrit at kemper.freedesktop.org
Tue Aug 20 14:44:36 UTC 2019


 loleaflet/src/core/Socket.js |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 115a6d69be6f320b16303b4ee0f552244348eab3
Author:     Henry Castro <hcastro at collabora.com>
AuthorDate: Wed Jul 3 00:04:29 2019 -0400
Commit:     Henry Castro <hcastro at 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 <hcastro at collabora.com>
    Tested-by: Henry Castro <hcastro at 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) {


More information about the Libreoffice-commits mailing list