globe.gl 2.26.2 → 2.26.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -540,10 +540,7 @@ var globe = Kapsule__default["default"]({
540
540
  var controls = state.renderObjs.controls();
541
541
  controls.minDistance = globeR * 1.01; // just above the surface
542
542
 
543
- setTimeout(function () {
544
- return controls.maxDistance = globeR * 100;
545
- }); // apply async after renderObjs sets maxDistance
546
-
543
+ controls.maxDistance = globeR * 100;
547
544
  controls.enablePan = false;
548
545
  controls.enableDamping = true;
549
546
  controls.dampingFactor = 0.1;
@@ -1,4 +1,4 @@
1
- import { WebGLRendererParameters, Scene, Camera, WebGLRenderer } from 'three';
1
+ import { WebGLRendererParameters, Scene, Camera, WebGLRenderer, Object3D } from 'three';
2
2
  import { EffectComposer } from 'three/examples/jsm/postprocessing/EffectComposer.js';
3
3
  import { ConfigOptions as ConfigOptions$1, ThreeGlobeGeneric } from 'three-globe';
4
4