mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-14 17:52:55 +00:00
Do not continue areas. Fixes #331
This commit is contained in:
@@ -20,7 +20,7 @@ iD.modes.AddLine = function() {
|
||||
way = iD.Way({ tags: { highway: 'residential' } }),
|
||||
direction = 'forward';
|
||||
|
||||
if (datum.type === 'node') {
|
||||
if (datum.type === 'node' && datum.geometry() === 'line') {
|
||||
// continue an existing way
|
||||
var id = datum.id;
|
||||
var parents = history.graph().parentWays(id);
|
||||
|
||||
Reference in New Issue
Block a user