loleaflet: mobile: ensure to close any popups in long press event
Change-Id: I64d438e3667a92f16d5bc39490ba31fdd83691fb Reviewed-on: https://gerrit.libreoffice.org/77832 Reviewed-by: Henry Castro <hcastro@collabora.com> Tested-by: Henry Castro <hcastro@collabora.com>
This commit is contained in:
parent
4f0c62898c
commit
b0b11b6e7a
1 changed files with 2 additions and 0 deletions
|
@ -167,6 +167,8 @@ L.Map.TouchGesture = L.Handler.extend({
|
|||
return;
|
||||
}
|
||||
|
||||
this._map.fire('closepopups');
|
||||
|
||||
if (window.ThisIsTheiOSApp) {
|
||||
// console.log('==> ' + e.timeStamp);
|
||||
if (!this._toolbar._map && this._map._docLayer.containsSelection(latlng)) {
|
||||
|
|
Loading…
Reference in a new issue