Closed pixelzoom closed 9 months ago
Discovered in https://github.com/phetsims/axon/issues/441 ...
In Spring, missing dependency on this.leftProperty:
this.leftProperty
this.rightProperty = new DerivedProperty( [ this.equilibriumXProperty, this.displacementProperty ], ( equilibriumX, displacement ) => { const left = this.leftProperty.value; const right = equilibriumX + displacement; assert && assert( right - left > 0, `right must be > left, right=${right}, left=${left}` ); return right; } );
In https://github.com/phetsims/hookes-law/commit/2d3c89dd1d19ccd5a3df7641d3ce260477dd6bbd, @samreid added accessNonDependencies: true to temporarily silence this problem.
accessNonDependencies: true
Fixed in the above commit, closing.
Discovered in https://github.com/phetsims/axon/issues/441 ...
In Spring, missing dependency on
this.leftProperty
: