Closed phet-steele closed 6 years ago
@jessegreenberg just a hunch, but it might be that only forcesAndMotionBasics.{{SCREEN}}.view.appliedForceSlider.sliderKnob.enabledProperty
is instrumented, but not also the track.enabledProperty (or equivalent).
@phet-steele yes, I think you are right. It looks like both enabledProperty
in sun/HSliderTrack and sun/HSlider is not instrumented. The enabledProperty
is shared between both (passed through options).
Temporary solution is to pass an instrumented enabledProperty
to HSlider
in AppliedForceSlider
.
That fixes it, but I am wondering if this should be handled in Sun?
Being investigated in https://github.com/phetsims/sun/issues/310, on hold until we investigate that issue.
https://github.com/phetsims/sun/issues/310 was closed, this issue should be fixed.
Verified fixed in master, removed custom code in AppliedForceSlider.
2.3-phetio and 2.3 have sun sha 50f640e713ff6c764ec1484fb546370c18abe1ad.
To pick up this fix they need changes through 96c223b3fb271992069088e4d48019b141c9191c
Changes between those SHA's seem either related to this issue, are adding documentation, or were for sorting require statements, so it seems safe to update the shas in dependencies.json without creating release branches in sun.
Both also require an updated DOT sha to include TRange db33a2c7fca14980bccd7d9517839c5b8ae7a9ee
Should be fixed in release branches.
Beautiful, fixed.
Seen on macOS 10.12.6 Chrome. For phetsims/QA#42.