Skip to content

Commit

Permalink
Fix fade dispose (#431)
Browse files Browse the repository at this point in the history
  • Loading branch information
gkjohnson authored Dec 25, 2023
1 parent d799c61 commit 8593af5
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 8593af5

Please sign in to comment.