loleaflet: mobile: add permission precondition to row/column headers
Change-Id: Ic26f3a4e129fac02932dd0ba54e81a20b68d1ca8 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88040 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Henry Castro <hcastro@collabora.com>
This commit is contained in:
parent
4fa8e4ee83
commit
d36989114b
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ L.Control.Header = L.Control.extend({
|
|||
},
|
||||
|
||||
_onPan: function (event) {
|
||||
if (event.pointerType != 'touch')
|
||||
if (event.pointerType !== 'touch' || this._map._permission !== 'edit')
|
||||
return;
|
||||
|
||||
if (event.type == 'panstart')
|
||||
|
|
Loading…
Reference in a new issue