diff options
Diffstat (limited to 'loleaflet/src/map/handler/Map.TouchGesture.js')
-rw-r--r-- | loleaflet/src/map/handler/Map.TouchGesture.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loleaflet/src/map/handler/Map.TouchGesture.js b/loleaflet/src/map/handler/Map.TouchGesture.js index 01544d5de..d682cb4c5 100644 --- a/loleaflet/src/map/handler/Map.TouchGesture.js +++ b/loleaflet/src/map/handler/Map.TouchGesture.js @@ -268,7 +268,7 @@ L.Map.TouchGesture = L.Handler.extend({ if (docLayer._textSelectionStart && docLayer._textSelectionEnd) textSelection = new L.LatLngBounds(docLayer._textSelectionStart.getSouthWest(), docLayer._textSelectionEnd.getNorthEast()); - if ((textSelection && textSelection.contains(latlng)) + if ((textSelection && textSelection.inBand(latlng)) || (graphicSelection && graphicSelection.contains(latlng)) || (cellCursor && cellCursor.contains(latlng))) { // long touched an already selected object |