Skip to content

Commit

Permalink
Revert "fix updating of NodeTexture dynamically, phetsims/buoyancy#102"
Browse files Browse the repository at this point in the history
This reverts commit 1f2fd4d.
  • Loading branch information
zepumph committed Mar 4, 2024
1 parent 1f2fd4d commit 13a9828
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/Disposable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ class Disposable {
// Marked true when this Disposable has had dispose() called on it (after disposeEmitter is fired)
private _isDisposed = false;

// Most time, Disposable should only be used by subtypes, only instantiate it if you run into multiple inheritance issues.
public constructor( providedOptions?: DisposableOptions ) {
// Disposable should only be used by subtypes, no need to instantiate one on its own.
protected constructor( providedOptions?: DisposableOptions ) {

providedOptions && this.initializeDisposable( providedOptions );

Expand Down

0 comments on commit 13a9828

Please sign in to comment.