3d-force-graph 1.78.1 → 1.78.2

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.
@@ -1,4 +1,4 @@
1
- // Version 1.78.1 3d-force-graph - https://github.com/vasturiano/3d-force-graph
1
+ // Version 1.78.2 3d-force-graph - https://github.com/vasturiano/3d-force-graph
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
4
4
  typeof define === 'function' && define.amd ? define(factory) :
@@ -133389,7 +133389,7 @@ var<${access}> ${ name } : ${ structName };`;
133389
133389
  }
133390
133390
  function setLookAt(lookAt) {
133391
133391
  var lookAtVect = new three$1.Vector3(lookAt.x, lookAt.y, lookAt.z);
133392
- if (state.controls.target) {
133392
+ if (state.controls.enabled && state.controls.target) {
133393
133393
  state.controls.target = lookAtVect;
133394
133394
  } else {
133395
133395
  // Fly controls doesn't have target attribute