phetsims / density-buoyancy-common

Common code for the Density and Buoyancy simulations
GNU General Public License v3.0
0 stars 2 forks source link

Instrument `resetBoatSceneButton.selfVisibleProperty` #240

Closed arouinfar closed 2 months ago

arouinfar commented 3 months ago

For https://github.com/phetsims/buoyancy/issues/51

The resetBoatSceneButton only appears in the Boat Scene, so the model needs to control its visibleProperty. Clients should have a way to hide it with selfVisibleProperty, as we do with other scene-specific controls such as customBottleDensityNumberControl.

image

Assigning the dev team.

AgustinVallejo commented 2 months ago

Tossing back to @arouinfar for review

arouinfar commented 2 months ago

Thanks @AgustinVallejo. Looks good on main, closing.