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

Dennis Francis (via logerrit) logerrit at kemper.freedesktop.org
Wed Aug 12 08:15:36 UTC 2020


 loleaflet/src/control/Control.ColumnHeader.js |    2 +-
 loleaflet/src/control/Control.RowHeader.js    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 691e4f66eb9721a6aca62245592d8f6e8205d611
Author:     Dennis Francis <dennis.francis at collabora.com>
AuthorDate: Fri Aug 7 14:14:06 2020 +0530
Commit:     Dennis Francis <dennis.francis at collabora.com>
CommitDate: Wed Aug 12 10:15:18 2020 +0200

    loleaflet: update headers for every 'move' event
    
    (and not just for 'moveend').
    
    Change-Id: I487d22fff5e55741baa1a1d7f99798371fa3d284
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/100478
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Tested-by: Jenkins
    Reviewed-by: Dennis Francis <dennis.francis at collabora.com>

diff --git a/loleaflet/src/control/Control.ColumnHeader.js b/loleaflet/src/control/Control.ColumnHeader.js
index 0bafd515a..cbd73c919 100644
--- a/loleaflet/src/control/Control.ColumnHeader.js
+++ b/loleaflet/src/control/Control.ColumnHeader.js
@@ -11,7 +11,7 @@ L.Control.ColumnHeader = L.Control.Header.extend({
 
 	onAdd: function (map) {
 		map.on('updatepermission', this._onUpdatePermission, this);
-		map.on('moveend zoomchanged sheetgeometrychanged splitposchanged', this._updateCanvas, this);
+		map.on('move zoomchanged sheetgeometrychanged splitposchanged', this._updateCanvas, this);
 		this._initialized = false;
 	},
 
diff --git a/loleaflet/src/control/Control.RowHeader.js b/loleaflet/src/control/Control.RowHeader.js
index faadb575d..e39162ff2 100644
--- a/loleaflet/src/control/Control.RowHeader.js
+++ b/loleaflet/src/control/Control.RowHeader.js
@@ -11,7 +11,7 @@ L.Control.RowHeader = L.Control.Header.extend({
 
 	onAdd: function (map) {
 		map.on('updatepermission', this._onUpdatePermission, this);
-		map.on('moveend zoomchanged sheetgeometrychanged splitposchanged', this._updateCanvas, this);
+		map.on('move zoomchanged sheetgeometrychanged splitposchanged', this._updateCanvas, this);
 		this._initialized = false;
 	},
 


More information about the Libreoffice-commits mailing list