mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-28 10:51:45 +02:00
Fix way node dragging. Fixes #279
This commit is contained in:
@@ -4,7 +4,7 @@ iD.modes._dragFeatures = function(mode) {
|
||||
var dragbehavior = d3.behavior.drag()
|
||||
.origin(function(entity) {
|
||||
var p = mode.map.projection(entity.loc);
|
||||
d3.event.sourceEvent.stopPropagation();
|
||||
// d3.event.sourceEvent.stopPropagation();
|
||||
return { x: p[0], y: p[1] };
|
||||
})
|
||||
.on('drag', function(entity) {
|
||||
|
||||
Reference in New Issue
Block a user