From ba7eaabc4bb33cf0ebfb0b31e35437a9df234f7f Mon Sep 17 00:00:00 2001 From: pixelzoom Date: Wed, 1 May 2024 15:00:10 -0600 Subject: [PATCH] delete unnecessary widthProperty listener, https://github.com/phetsims/gas-properties/issues/77 --- js/diffusion/model/DiffusionContainer.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/js/diffusion/model/DiffusionContainer.ts b/js/diffusion/model/DiffusionContainer.ts index 1376d1f2..f39f0ced 100644 --- a/js/diffusion/model/DiffusionContainer.ts +++ b/js/diffusion/model/DiffusionContainer.ts @@ -37,11 +37,6 @@ export default class DiffusionContainer extends BaseContainer { tandem: tandem } ); - // In case clients attempt to use this feature of the base class - this.widthProperty.lazyLink( width => { - throw new Error( 'container width is fixed in the Diffusion screen' ); - } ); - this.dividerThickness = 100; this.dividerX = this.left + ( this.width / 2 );