mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 01:02:58 +00:00
Followup to #8083
This commit is contained in:
@@ -157,10 +157,9 @@ export function osmJoinWays(toJoin, graph) {
|
||||
var item = toJoin.shift();
|
||||
var currWays = [item];
|
||||
var currNodes = resolve(item).slice();
|
||||
var doneSequence = false;
|
||||
|
||||
// add to it
|
||||
while (toJoin.length && !doneSequence) {
|
||||
while (toJoin.length) {
|
||||
var start = currNodes[0];
|
||||
var end = currNodes[currNodes.length - 1];
|
||||
var fn = null;
|
||||
|
||||
Reference in New Issue
Block a user