Skip to content

Commit

Permalink
Address lint rules, see phetsims/chipper#1276
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Jul 11, 2022
1 parent 57746da commit 7716df9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/lab/view/PeriodTraceNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class PeriodTraceNode extends Node {

const state = this.periodTrace.stateProperty.value; // 0 to 4
if ( state === 0 ) {
this.visible = false && spring.periodTraceVisibilityProperty.value;
this.visible = false;
}
else {
this.visible = spring.periodTraceVisibilityProperty.value;
Expand Down Expand Up @@ -136,7 +136,7 @@ class PeriodTraceNode extends Node {

// Responsible for restarting the period trace.
else {
this.visible = false && spring.periodTraceVisibilityProperty.value;
this.visible = false;
this.periodTrace.onFaded();
}
}
Expand Down

0 comments on commit 7716df9

Please sign in to comment.