Skip to content

Commit

Permalink
Reset barrier type selection, see #183
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Dec 14, 2018
1 parent 0287e53 commit 20cdf60
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions js/common/model/Scene.js
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,7 @@ define( require => {
this.continuousWave1OscillatingProperty.reset();
this.continuousWave2OscillatingProperty.reset();
this.isAboutToFireProperty.reset();
this.barrierTypeProperty && this.barrierTypeProperty.reset();
}

/**
Expand Down
1 change: 0 additions & 1 deletion js/slits/view/BarriersNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 20cdf60

Please sign in to comment.