Closed pixelzoom closed 1 year ago
Fixed in the above commits, and the restored separator automatically disappears if not needed. @arouinfar please reivew, compare to published version 1.2.13 at https://phet.colorado.edu/sims/html/graphing-quadratics/latest/graphing-quadratics_all.html. And beware of https://github.com/phetsims/sun/issues/848 - if the entire content of an AccordionBox is hidden, the entire AccordionBox becomes invisible.
Good catch! Looks good in master, closing.
While working on https://github.com/phetsims/graphing-quadratics/issues/192, I noticed that we lost the separator at the top of every
equationAccordionBox
. The separator is still in the code, but because there's nothing about it in "content" of the accordion box, scenery's layout manager automatically hides it. This is because scenery takes a very literal view of "separator" -- there must be a visible Node on both sides of the separator, or it will be hidden.Here is
equationAccordionBox
in the 4 screens of the published version (1.2.13):Compare to master. Note the absence of the separator between the accordion box's title and content.