Cancel contextMenu emulation timeout if >1 touches happen (Put them down for a touch zoom and didn't move them for example)
This commit is contained in:
parent
514908f812
commit
9783d9ba22
@ -48,6 +48,7 @@ L.Draggable = L.Class.extend({
|
||||
|
||||
if (e.touches && e.touches.length > 1) {
|
||||
this._simulateClick = false;
|
||||
clearTimeout(this._contextMenuTimeout);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user