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@gmail.com> Tested-by: Jenkins Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
This commit is contained in:
parent
7974e3e848
commit
691e4f66eb
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
},
|
||||
|
||||
|
|
|
@ -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;
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue