mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 17:23:02 +00:00
Get rid of ghost node in connections. Fixes #213
This commit is contained in:
@@ -52,6 +52,7 @@ iD.modes.DrawRoad = function(way_id, direction) {
|
||||
return finish(iD.modes.Select(way));
|
||||
} else {
|
||||
// connect a way to an existing way
|
||||
mode.history.replace(iD.actions.DeleteNode(node));
|
||||
mode.history.replace(iD.actions.AddWayNode(way, datum, index));
|
||||
}
|
||||
} else if (datum.type === 'way') {
|
||||
|
||||
Reference in New Issue
Block a user