From 7716df916328cf482d71e23e56457ab186174eaa Mon Sep 17 00:00:00 2001 From: Sam Reid Date: Sun, 10 Jul 2022 22:53:32 -0600 Subject: [PATCH] Address lint rules, see https://github.com/phetsims/chipper/issues/1276 --- js/lab/view/PeriodTraceNode.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/lab/view/PeriodTraceNode.js b/js/lab/view/PeriodTraceNode.js index 73d7507c..61de4f8b 100644 --- a/js/lab/view/PeriodTraceNode.js +++ b/js/lab/view/PeriodTraceNode.js @@ -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; @@ -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(); } }