microboard-temp 0.10.1 → 0.10.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.
@@ -43923,7 +43923,7 @@ class ConnectorSnap {
43923
43923
  }
43924
43924
  }
43925
43925
  getNearest() {
43926
- const neighbors = this.board.items.getNearPointer(this.distance.neighbor / this.board.camera.getScale(), this.maxNeighbors);
43926
+ const neighbors = this.board.items.getNearPointer(this.distance.border / this.board.camera.getScale(), this.maxNeighbors);
43927
43927
  const pointer = this.board.pointer.point;
43928
43928
  let nearest = null;
43929
43929
  let nearestDistance = Number.MAX_VALUE;
package/dist/cjs/index.js CHANGED
@@ -43923,7 +43923,7 @@ class ConnectorSnap {
43923
43923
  }
43924
43924
  }
43925
43925
  getNearest() {
43926
- const neighbors = this.board.items.getNearPointer(this.distance.neighbor / this.board.camera.getScale(), this.maxNeighbors);
43926
+ const neighbors = this.board.items.getNearPointer(this.distance.border / this.board.camera.getScale(), this.maxNeighbors);
43927
43927
  const pointer = this.board.pointer.point;
43928
43928
  let nearest = null;
43929
43929
  let nearestDistance = Number.MAX_VALUE;
package/dist/cjs/node.js CHANGED
@@ -46396,7 +46396,7 @@ class ConnectorSnap {
46396
46396
  }
46397
46397
  }
46398
46398
  getNearest() {
46399
- const neighbors = this.board.items.getNearPointer(this.distance.neighbor / this.board.camera.getScale(), this.maxNeighbors);
46399
+ const neighbors = this.board.items.getNearPointer(this.distance.border / this.board.camera.getScale(), this.maxNeighbors);
46400
46400
  const pointer = this.board.pointer.point;
46401
46401
  let nearest = null;
46402
46402
  let nearestDistance = Number.MAX_VALUE;
@@ -43752,7 +43752,7 @@ class ConnectorSnap {
43752
43752
  }
43753
43753
  }
43754
43754
  getNearest() {
43755
- const neighbors = this.board.items.getNearPointer(this.distance.neighbor / this.board.camera.getScale(), this.maxNeighbors);
43755
+ const neighbors = this.board.items.getNearPointer(this.distance.border / this.board.camera.getScale(), this.maxNeighbors);
43756
43756
  const pointer = this.board.pointer.point;
43757
43757
  let nearest = null;
43758
43758
  let nearestDistance = Number.MAX_VALUE;
package/dist/esm/index.js CHANGED
@@ -43745,7 +43745,7 @@ class ConnectorSnap {
43745
43745
  }
43746
43746
  }
43747
43747
  getNearest() {
43748
- const neighbors = this.board.items.getNearPointer(this.distance.neighbor / this.board.camera.getScale(), this.maxNeighbors);
43748
+ const neighbors = this.board.items.getNearPointer(this.distance.border / this.board.camera.getScale(), this.maxNeighbors);
43749
43749
  const pointer = this.board.pointer.point;
43750
43750
  let nearest = null;
43751
43751
  let nearestDistance = Number.MAX_VALUE;
package/dist/esm/node.js CHANGED
@@ -46213,7 +46213,7 @@ class ConnectorSnap {
46213
46213
  }
46214
46214
  }
46215
46215
  getNearest() {
46216
- const neighbors = this.board.items.getNearPointer(this.distance.neighbor / this.board.camera.getScale(), this.maxNeighbors);
46216
+ const neighbors = this.board.items.getNearPointer(this.distance.border / this.board.camera.getScale(), this.maxNeighbors);
46217
46217
  const pointer = this.board.pointer.point;
46218
46218
  let nearest = null;
46219
46219
  let nearestDistance = Number.MAX_VALUE;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-temp",
3
- "version": "0.10.1",
3
+ "version": "0.10.2",
4
4
  "description": "A flexible interactive whiteboard library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",