Skip to content

Commit

Permalink
Add TODOs, see #170
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed May 10, 2023
1 parent 15f8763 commit 214a9bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/variability/view/VariabilityAccordionBox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 214a9bf

Please sign in to comment.