Skip to content

Commit

Permalink
Fix fade dispose
Browse files Browse the repository at this point in the history
  • Loading branch information
gkjohnson committed Dec 25, 2023
1 parent 24fe07c commit 93cf33d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions example/src/FadeTilesRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,18 @@ export const FadeTilesRendererMixin = base => class extends base {

}

dispose() {

super.dispose();

this.disposeSet.forEach( object => {

onFadeFinish.call( this, object );

} );

}

};

export const FadeTilesRenderer = FadeTilesRendererMixin( TilesRenderer );

0 comments on commit 93cf33d

Please sign in to comment.