diff --git a/js/common/model/Scene.js b/js/common/model/Scene.js index bd62feae..d0af4537 100644 --- a/js/common/model/Scene.js +++ b/js/common/model/Scene.js @@ -575,6 +575,7 @@ define( require => { this.continuousWave1OscillatingProperty.reset(); this.continuousWave2OscillatingProperty.reset(); this.isAboutToFireProperty.reset(); + this.barrierTypeProperty && this.barrierTypeProperty.reset(); } /** diff --git a/js/slits/view/BarriersNode.js b/js/slits/view/BarriersNode.js index 6c4c3160..85e6dabc 100644 --- a/js/slits/view/BarriersNode.js +++ b/js/slits/view/BarriersNode.js @@ -107,7 +107,6 @@ define( require => { * @private - update the shapes and text when the rotationAmount has changed */ update() { - const barrierType = this.scene.barrierTypeProperty.get(); const scene = this.scene; const slitWidth = scene.slitWidthProperty.get();