3d-force-graph 1.78.3 → 1.78.4

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.
@@ -460,7 +460,11 @@ var _3dForceGraph = Kapsule({
460
460
  .resetCountdown(); // let the engine readjust after releasing fixed nodes
461
461
 
462
462
  if (state.enableNavigationControls) {
463
+ var _controls$_onPointerC;
463
464
  controls.enabled = true; // Re-enable controls
465
+
466
+ controls._status && ((_controls$_onPointerC = controls._onPointerCancel) === null || _controls$_onPointerC === void 0 ? void 0 : _controls$_onPointerC.call(controls)); // cancel pressed status on fly controls
467
+
464
468
  controls.domElement && controls.domElement.ownerDocument && controls.domElement.ownerDocument.dispatchEvent(
465
469
  // simulate mouseup to ensure the controls don't take over after dragend
466
470
  new PointerEvent('pointerup', {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "3d-force-graph",
3
- "version": "1.78.3",
3
+ "version": "1.78.4",
4
4
  "description": "UI component for a 3D force-directed graph using ThreeJS and d3-force-3d layout engine",
5
5
  "type": "module",
6
6
  "jsdelivr": "dist/3d-force-graph.min.js",