mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-27 02:12:24 +02:00
Allow for continuing line drawing, also fixes #507
This commit is contained in:
@@ -19,7 +19,7 @@ iD.modes.DrawLine = function(wayId, direction) {
|
||||
function addTail(node) {
|
||||
// connect the way in a loop
|
||||
if (way.nodes.length > 2) {
|
||||
behavior.addNode(node, 'added to a line', iD.modes.Select(way, true))
|
||||
behavior.addNode(node, 'added to a line');
|
||||
} else {
|
||||
behavior.cancel();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user