phetsims / circuit-construction-kit-common

"Circuit Construction Kit: Basics" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
10 stars 10 forks source link

Instrument text associated with switch #851

Closed arouinfar closed 2 years ago

arouinfar commented 2 years ago

When the switch is selected, a string appears at the bottom of the screen that says "The switch is {{open, closed}}." This text is not instrumented, and it's possible that a client may want to hide it.

Seems like a reasonable place for it would be under view.circuitElementEditContainerNode and call it something like switchTextNode with its own textProperty (read-only) and visibleProperty.

arouinfar commented 2 years ago

Nevermind, I already opened an issue for this, see #831.