phetsims / projectile-motion

"Projectile Motion" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
15 stars 13 forks source link

subdivide velocityControlPanel on intro screen #259

Closed arouinfar closed 3 years ago

arouinfar commented 3 years ago

For #244

On the Intro Screen, the vectorsControlPanel could benefit from some subdivision, somewhat similar to what we did with the airReistanceControl in #225.

image

Here's a proposed tree structure:

vectorsControlPanel
    visibleProperty
  - accelerationVectors
        visibleProperty
      - titleNode 
             visibleProperty
             textProperty
        (checkboxes & their children)
  - velocityVectors
        visibleProperty
      - titleNode 
             visibleProperty
             textProperty
        (checkboxes & their children)
zepumph commented 3 years ago

That should do it, please review. Please note, that this panel is custom only for the intro screen, so any other screen will not pick up these changes. Let me know if there is more to do.

arouinfar commented 3 years ago

Looks good in master, thanks!