From 214a9bf661a78076c392d4fa7bae5f27630e588f Mon Sep 17 00:00:00 2001 From: Sam Reid Date: Wed, 10 May 2023 12:32:57 -0600 Subject: [PATCH] Add TODOs, see https://github.com/phetsims/center-and-variability/issues/170 --- js/variability/view/VariabilityAccordionBox.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/variability/view/VariabilityAccordionBox.ts b/js/variability/view/VariabilityAccordionBox.ts index 34dc7e94..846f2aed 100644 --- a/js/variability/view/VariabilityAccordionBox.ts +++ b/js/variability/view/VariabilityAccordionBox.ts @@ -151,6 +151,8 @@ export default class VariabilityAccordionBox extends CAVAccordionBox { return new VariabilityReadoutText( rangeReadoutValueProperty, CenterAndVariabilityStrings.rangeEqualsValuePatternStringProperty, { fill: CAVColors.meanColorProperty, + + // TODO: See https://github.com/phetsims/center-and-variability/issues/170, putting this as the visibleProperty means ToggleNode checks the checkbox when it makes the node visible visibleProperty: model.isShowingRangeProperty, left: 0, centerY: backgroundNode.height / 2,