Skip to content

Commit

Permalink
add grab/drag interaction to phetsims/gravity-force-lab#140
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Jan 16, 2019
1 parent 004805a commit 7e44903
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/common/model/CoulombsLawCommonModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ define( function( require ) {
* @public
*/
reset: function() {

// As of writing this, all (both) subtypes have a rulerPositionProperty, so it is easy enough to just reset this here.
this.rulerPositionProperty.reset();
this.scientificNotationProperty.reset();
ISLCModel.prototype.reset.call( this );
Expand Down
1 change: 1 addition & 0 deletions js/common/view/CoulombsLawCommonView.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ define( function( require ) {
coulombsLawModel.reset();
charge1Control.reset();
charge2Control.reset();
coulombsLawRuler.reset();
},
radius: 18,
right: rightAlignment,
Expand Down

0 comments on commit 7e44903

Please sign in to comment.