Skip to content

Commit

Permalink
delete unnecessary widthProperty listener, #77
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed May 1, 2024
1 parent 16a15da commit ba7eaab
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions js/diffusion/model/DiffusionContainer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit ba7eaab

Please sign in to comment.