[Libreoffice-commits] online.git: Branch 'distro/collabora/co-4-2' - loleaflet/src

Henry Castro (via logerrit) logerrit at kemper.freedesktop.org
Wed Sep 23 15:31:50 UTC 2020


 loleaflet/src/layer/tile/CalcTileLayer.js |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit cf2dc409b4185a33ad6910d288aaf43f2a82a032
Author:     Henry Castro <hcastro at collabora.com>
AuthorDate: Mon Sep 14 13:37:29 2020 -0400
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Wed Sep 23 17:31:31 2020 +0200

    loleaflet: Hide the visibility of the cursor by default
    
    When loading a spreadsheet document, the server should send a message
    to show the cursor appropriately
    
    Change-Id: I520a2b21fab903fc6b17ea612bbe1691ef311dbd
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102692
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Henry Castro <hcastro at collabora.com>
    (cherry picked from commit 6a70aeaad8c6a01d53f9ebb16b7d7327ebf688a2)
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102930
    Reviewed-by: Andras Timar <andras.timar at collabora.com>

diff --git a/loleaflet/src/layer/tile/CalcTileLayer.js b/loleaflet/src/layer/tile/CalcTileLayer.js
index 371e344bc..37bbe67f7 100644
--- a/loleaflet/src/layer/tile/CalcTileLayer.js
+++ b/loleaflet/src/layer/tile/CalcTileLayer.js
@@ -44,6 +44,7 @@ L.CalcTileLayer = L.TileLayer.extend({
 	},
 
 	beforeAdd: function (map) {
+		map._isCursorVisible = false;
 		map._addZoomLimit(this);
 		map.on('zoomend', this._onZoomRowColumns, this);
 		map.on('updateparts', this._onUpdateParts, this);


More information about the Libreoffice-commits mailing list