mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-20 23:44:47 +02:00
Ensure dragging a way is undoable
This commit is contained in:
@@ -26,7 +26,10 @@ iD.modes.Select = function (entity) {
|
||||
.on('dragend', function () {
|
||||
if (!dragging) return;
|
||||
dragging = undefined;
|
||||
mode.map.redraw();
|
||||
|
||||
mode.history.replace(
|
||||
iD.actions.Noop(),
|
||||
'moved a way');
|
||||
});
|
||||
|
||||
function remove() {
|
||||
|
||||
Reference in New Issue
Block a user