visibleProperty
should be uninstrumented instead of read-only
#319
Labels
visibleProperty
should be uninstrumented instead of read-only
#319
For phetsims/qa#889, noticed while working on #317.
There are 7 inappropriate occurrences of this option:
This instruments
visibleProperty
but makes it read-only. It's only appropriate to use this when the visibility of the element can somehow be controlled via the sim, in case the client wants to inspect the value ofvisibleProperty
. In all cases for this sim, the visibility never changes, so it would be more appropriate to uninstrumentvisibleProperty
, like this:phetioVisiblePropertyInstrumented: false
This will require
grunt generate-phet-io-api
to update the API files. @arouinfar FYI.The text was updated successfully, but these errors were encountered: