Skip to content

Commit

Permalink
use isDisposable:false where appropriate, phetsims/axon#436
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Jul 5, 2023
1 parent c1129c6 commit bdf30fc
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions js/Panel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,6 @@ export default class Panel extends Sizable( Node ) {
super.setExcludeInvisibleChildrenFromBounds( excludeInvisibleChildrenFromBounds );
this.constraint.updateLayoutAutomatically();
}

public override dispose(): void {
this.constraint.dispose();
super.dispose();
}
}

class PanelConstraint extends LayoutConstraint {
Expand Down

0 comments on commit bdf30fc

Please sign in to comment.