mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
End zoom if somehow we miss the mouseup (#1326)
This commit is contained in:
Vendored
+4
@@ -1499,6 +1499,10 @@ d3.behavior.zoom = function() {
|
||||
d3_eventCancel();
|
||||
|
||||
function mousemove() {
|
||||
if (d3.event.which === 0) {
|
||||
mouseup();
|
||||
return;
|
||||
}
|
||||
moved = 1;
|
||||
translateTo(d3.mouse(target), l);
|
||||
dispatch(event_);
|
||||
|
||||
Reference in New Issue
Block a user