We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
isEditableProperty
Related to #917
Most circuit components are adjustable in some way (e.g. resistance, voltage, current rating).
To prevent users from editing a circuit component, clients can set isEditableProperty to false, which would hide the slider in the screenshot above.
false
Switches do not have a tunable Property (like resistance) so isEditableProperty doesn't actually do anything. Can we get rid of it @samreid?
The text was updated successfully, but these errors were encountered:
We would probably add a ternary operator where isEditableProperty is instrumented--to use Tandem.OPT_OUT for Switch circuit elements.
Tandem.OPT_OUT
Sorry, something went wrong.
Uninstrument isEditableProperty for Switches - see #931
a50eaee
Uninstrument isEditableProperty for Switches - see phetsims/circuit-c…
e990449
…onstruction-kit-common#931
@samreid ready for review
Excellent, nice work @matthew-blackman. Closing.
samreid
No branches or pull requests
Related to #917
Most circuit components are adjustable in some way (e.g. resistance, voltage, current rating).
To prevent users from editing a circuit component, clients can set
isEditableProperty
tofalse
, which would hide the slider in the screenshot above.Switches do not have a tunable Property (like resistance) so
isEditableProperty
doesn't actually do anything. Can we get rid of it @samreid?The text was updated successfully, but these errors were encountered: