From 1b7cbcbfb15705d301519e6ec65048068d75832a Mon Sep 17 00:00:00 2001 From: Michael Kauzmann Date: Mon, 9 Jan 2023 16:58:16 -0700 Subject: [PATCH] required options can't have defaults in optionize defaults, https://github.com/phetsims/chipper/issues/1360 --- js/common/model/IdealGasLawModel.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/common/model/IdealGasLawModel.ts b/js/common/model/IdealGasLawModel.ts index ddffd318..a0ff427a 100644 --- a/js/common/model/IdealGasLawModel.ts +++ b/js/common/model/IdealGasLawModel.ts @@ -166,7 +166,8 @@ export default class IdealGasLawModel extends BaseModel { if ( options.hasCollisionCounter ) { this.collisionCounter = new CollisionCounter( this.collisionDetector, { position: new Vector2( 40, 15 ), // view coordinates! determined empirically - tandem: tandem.createTandem( 'collisionCounter' ) + tandem: tandem.createTandem( 'collisionCounter' ), + visible: true } ); }