Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 13, 2024
1 parent 92ddb82 commit d0f4320
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/webgl_Handler.ts.html
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
this.events = createEvents<["visibilitychange", "resize"]>(["visibilitychange", "resize"]);

this._throttledDrawFrame = this.drawFrame;

this.defaultClock = new Clock();

this._clocks = [];
Expand Down Expand Up @@ -920,7 +920,7 @@
this._setDefaults();

this.intersectionObserver = new IntersectionObserver((entries) => {
this._toggleVisibilityChange(entries[0].isIntersecting);
this._toggleVisibilityChange(entries[entries.length - 1].isIntersecting);
}, {threshold: 0});

this.intersectionObserver.observe(this.canvas);
Expand Down

0 comments on commit d0f4320

Please sign in to comment.