X-Git-Url: https://git.r.bdr.sh/rbdr/sumo/blobdiff_plain/bb8d5ef47baf7ad16a1bc58526f81ce332b090d6..7741a3cc37662ab2ff9606bdaffc0317b79a8dd9:/lib/systems/create_coupling_line.js?ds=sidebyside diff --git a/lib/systems/create_coupling_line.js b/lib/systems/create_coupling_line.js index 8e5e9d7..13aca78 100644 --- a/lib/systems/create_coupling_line.js +++ b/lib/systems/create_coupling_line.js @@ -85,6 +85,7 @@ export default class CreateCouplingLineSystem extends System { initialPosition = true; continue; } + lineGraphic = lineGraphic.lineTo(position.x, position.y); } } @@ -92,5 +93,5 @@ export default class CreateCouplingLineSystem extends System { rootGraphic.addChild(lineGraphic); } } -}; +}