-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
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
Uninstrument initialConcentrationControl.spinner.numberDisplay
or address common-code issue
#197
Comments
initialConcentrationControl.spinner.numberDisplay
or address common-code issue?initialConcentrationControl.spinner.numberDisplay
or address common-code issue
The consensus on a lighterweight plan for addressing NumberDisplay is documented in phetsims/scenery-phet#812 (comment). We can consider this when we come to it in this sim, if no other sim has addressed it yet. In the case of this sim, I'm leaning towards uninstrumenting |
I agree, @pixelzoom. Let's uninstrument When it comes to NumberSpinner, I don't see any reason why NumberDisplay needs to be instrumented at all. Is this something that we can handle in sun? |
Done. Back to @arouinfar for review. Close if OK. |
Looks good, thanks @pixelzoom! |
Related to phetsims/scenery-phet#812 ...
There is 1 NumberDisplay in acid-base-solutions:
acidBaseSolutions.mySolutionScreen.view.solutionPanel.initialConcentrationControl.spinner.numberDisplay
It's
valueText
is instrumented, and we don't want it to be. It's stringProperty is buggy, missing a dependency. See phetsims/scenery-phet#812.Options:
(1) Do nothing, leave it instrumented. This will result in an API change and migration rule in the future, so not recommended.
(2) Uninstrument this element. This is the easiest option.
initialConcentrationControl.spinner.property
links to the model value, but will show more decimal places than are actually displayed.(3) Address phetsims/scenery-phet#812.
The text was updated successfully, but these errors were encountered: