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

Henry Castro (via logerrit) logerrit at kemper.freedesktop.org
Tue Aug 20 14:39:46 UTC 2019


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

New commits:
commit 03b7d14e57ebf01b91b3b483455b5dd6a0f379f1
Author:     Henry Castro <hcastro at collabora.com>
AuthorDate: Sun Jun 30 16:06:14 2019 -0400
Commit:     Henry Castro <hcastro at collabora.com>
CommitDate: Tue Aug 20 16:39:28 2019 +0200

    loleaflet: mobile: safari: disable scrolling and bounce effect
    
    Change-Id: If00289febd753cbbcf38e197255644eb4ad216f3
    Reviewed-on: https://gerrit.libreoffice.org/77834
    Reviewed-by: Henry Castro <hcastro at collabora.com>
    Tested-by: Henry Castro <hcastro at collabora.com>

diff --git a/loleaflet/src/map/handler/Map.TouchGesture.js b/loleaflet/src/map/handler/Map.TouchGesture.js
index cc81fc319..9398c9f81 100644
--- a/loleaflet/src/map/handler/Map.TouchGesture.js
+++ b/loleaflet/src/map/handler/Map.TouchGesture.js
@@ -57,7 +57,7 @@ L.Map.TouchGesture = L.Handler.extend({
 			}
 
 			L.DomEvent.on(this._map._mapPane, 'mousedown mousemove mouseup', L.DomEvent.preventDefault);
-			L.DomEvent.on(document, 'contextmenu', L.DomEvent.preventDefault);
+			L.DomEvent.on(document, 'contextmenu touchmove', L.DomEvent.preventDefault);
 		}
 
 		for (var events in L.Draggable.MOVE) {


More information about the Libreoffice-commits mailing list