mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 05:30:35 +02:00
Fix line continuing
This commit is contained in:
@@ -27,7 +27,7 @@ export function operationContinue(selectedIDs, context) {
|
||||
var operation = function() {
|
||||
var candidate = candidateWays()[0];
|
||||
context.enter(
|
||||
modeDrawLine(context, candidate.id, context.graph(), context.graph(), 'line', candidate.affix(vertex.id), true)
|
||||
modeDrawLine(context, candidate.id, context.graph(), 'line', candidate.affix(vertex.id), true)
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
@@ -199,7 +199,7 @@ export function validationDisconnectedWay() {
|
||||
}
|
||||
|
||||
context.enter(
|
||||
modeDrawLine(context, wayId, context.graph(), context.graph(), 'line', way.affix(vertexId), true)
|
||||
modeDrawLine(context, wayId, context.graph(), 'line', way.affix(vertexId), true)
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -225,7 +225,7 @@ export function validationImpossibleOneway() {
|
||||
}
|
||||
|
||||
context.enter(
|
||||
modeDrawLine(context, way.id, context.graph(), context.graph(), 'line', way.affix(vertex.id), true)
|
||||
modeDrawLine(context, way.id, context.graph(), 'line', way.affix(vertex.id), true)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user