loleaflet/src/map/handler/Map.TouchGesture.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e291c42435097209b8c6b5eefb0d970dd30b846e
Author:     Henry Castro <hcas...@collabora.com>
AuthorDate: Wed Jul 10 10:23:16 2019 -0400
Commit:     Henry Castro <hcas...@collabora.com>
CommitDate: Tue Aug 20 17:14:22 2019 +0200

    loleaflet: mobile: avoid long press event when a graphic is panning
    
    Change-Id: I6ba8987e86f304b59336cb473d3fc023819da43e
    Reviewed-on: https://gerrit.libreoffice.org/77841
    Reviewed-by: Henry Castro <hcas...@collabora.com>
    Tested-by: Henry Castro <hcas...@collabora.com>

diff --git a/loleaflet/src/map/handler/Map.TouchGesture.js 
b/loleaflet/src/map/handler/Map.TouchGesture.js
index a48a316b6..331adff01 100644
--- a/loleaflet/src/map/handler/Map.TouchGesture.js
+++ b/loleaflet/src/map/handler/Map.TouchGesture.js
@@ -163,7 +163,7 @@ L.Map.TouchGesture = L.Handler.extend({
                    latlng = this._map.layerPointToLatLng(layerPoint),
                    mousePos = this._map._docLayer._latLngToTwips(latlng);
 
-               if (this._state === L.Map.TouchGesture.MARKER) {
+               if (this._state === L.Map.TouchGesture.MARKER || this._state 
=== L.Map.TouchGesture.GRAPHIC) {
                        return;
                }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to