mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 01:02:58 +00: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);
|
||||
})
|
||||
7536
js/lib/d3.v3.js
vendored
7536
js/lib/d3.v3.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user