Skip to content

Commit

Permalink
Update FadeTilesRenderer.js
Browse files Browse the repository at this point in the history
  • Loading branch information
gkjohnson authored Feb 8, 2024
1 parent 1885e69 commit 1b10988
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions example/src/FadeTilesRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,6 @@ export const FadeTilesRendererMixin = base => class extends base {

update( ...args ) {

// adjust settings to what's needed for specific fade logic. Ie display active tiles so when the camera
// moves we don't notice tiles popping when they enter the view. And perform the fade animation more quickly
// if the camera is moving quickly.
const fadeDuration = this.fadeDuration;
const displayActiveTiles = this.displayActiveTiles;
this.displayActiveTiles = true;

Expand All @@ -154,7 +150,6 @@ export const FadeTilesRendererMixin = base => class extends base {
}

this.displayActiveTiles = displayActiveTiles;
this.fadeDuration = fadeDuration;

// update the visibility of tiles based on visibility since we must use
// the active tiles for rendering fade
Expand Down

0 comments on commit 1b10988

Please sign in to comment.