mirror of
https://github.com/FoggedLens/iD.git
synced 2026-04-21 19:26:41 +02:00
Rename and update
This commit is contained in:
@@ -26,9 +26,11 @@ iD.Map = function(elem, connection) {
|
||||
})
|
||||
.on('dragstart', function() {
|
||||
history.perform(iD.actions.noop());
|
||||
d3.event.sourceEvent.stopPropagation();
|
||||
})
|
||||
.on('drag', function(entity) {
|
||||
var to = projection.invert([d3.event.x, d3.event.y]);
|
||||
d3.event.sourceEvent.stopPropagation();
|
||||
history.replace(iD.actions.move(entity, to));
|
||||
redraw(only);
|
||||
})
|
||||
Vendored
+7532
-4
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user