mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
Reapply 92ceae9
This commit is contained in:
Vendored
+7
-1
@@ -1506,7 +1506,13 @@ d3.behavior.zoom = function() {
|
||||
function mouseup() {
|
||||
if (moved) d3_eventCancel();
|
||||
w.on("mousemove.zoom", null).on("mouseup.zoom", null);
|
||||
if (moved && d3.event.target === eventTarget) w.on("click.zoom", click, true);
|
||||
if (moved && d3.event.target === eventTarget) {
|
||||
w.on("click.zoom", click, true);
|
||||
window.setTimeout(function() {
|
||||
// Remove click block if click didn't fire
|
||||
w.on("click.zoom", null);
|
||||
}, 0);
|
||||
}
|
||||
}
|
||||
|
||||
function click() {
|
||||
|
||||
Reference in New Issue
Block a user