X-Git-Url: https://git.r.bdr.sh/rbdr/sumo/blobdiff_plain/bb8d5ef47baf7ad16a1bc58526f81ce332b090d6..HEAD:/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); } } -}; +}