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.
- package/dist/cjs/browser.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/node.js +1 -1
- package/dist/esm/browser.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/node.js +1 -1
- package/package.json +1 -1
package/dist/cjs/browser.js
CHANGED
|
@@ -43923,7 +43923,7 @@ class ConnectorSnap {
|
|
|
43923
43923
|
}
|
|
43924
43924
|
}
|
|
43925
43925
|
getNearest() {
|
|
43926
|
-
const neighbors = this.board.items.getNearPointer(this.distance.
|
|
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.
|
|
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.
|
|
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;
|
package/dist/esm/browser.js
CHANGED
|
@@ -43752,7 +43752,7 @@ class ConnectorSnap {
|
|
|
43752
43752
|
}
|
|
43753
43753
|
}
|
|
43754
43754
|
getNearest() {
|
|
43755
|
-
const neighbors = this.board.items.getNearPointer(this.distance.
|
|
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.
|
|
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.
|
|
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;
|