From d0f4320924f617f16bd300f45677fe8bf67e0e07 Mon Sep 17 00:00:00 2001 From: Github Bot Date: Fri, 13 Sep 2024 10:02:59 +0000 Subject: [PATCH] Update from https://github.com/openglobus/openglobus/commit/d5c27994a5170e1de1205261a99e5feb74843cd4 --- docs/webgl_Handler.ts.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/webgl_Handler.ts.html b/docs/webgl_Handler.ts.html index 99501c67..aeb35d07 100644 --- a/docs/webgl_Handler.ts.html +++ b/docs/webgl_Handler.ts.html @@ -199,7 +199,7 @@ this.events = createEvents<["visibilitychange", "resize"]>(["visibilitychange", "resize"]); this._throttledDrawFrame = this.drawFrame; - + this.defaultClock = new Clock(); this._clocks = []; @@ -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);