diff --git a/js/common/view/DebugLayer.js b/js/common/view/DebugLayer.js index d154808a..3d379727 100644 --- a/js/common/view/DebugLayer.js +++ b/js/common/view/DebugLayer.js @@ -48,14 +48,9 @@ class DebugLayer extends Node { const wires = model.circuit.wireGroup[ circuitPosition ]; wires.forEach( wire => { - const wirePath = new Path( null, { + this.addChild( new Path( wire.shapeProperty, { stroke: 'blue' - } ); - this.addChild( wirePath ); - - wire.shapeProperty.link( shape => { - wirePath.shape = shape; - } ); + } ) ); } ); } );