microboard-temp 0.10.0 → 0.10.1

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.
@@ -43867,8 +43867,11 @@ class ConnectorSnap {
43867
43867
  pointerMove() {
43868
43868
  this.setHover();
43869
43869
  const nearest = this.getNearest();
43870
+ const underPointer = this.hover.item;
43870
43871
  if (this.isNearBorder(nearest)) {
43871
43872
  this.snap.item = nearest;
43873
+ } else if (underPointer && underPointer !== this.connector) {
43874
+ this.snap.item = underPointer;
43872
43875
  } else {
43873
43876
  this.snap.item = null;
43874
43877
  }
package/dist/cjs/index.js CHANGED
@@ -43867,8 +43867,11 @@ class ConnectorSnap {
43867
43867
  pointerMove() {
43868
43868
  this.setHover();
43869
43869
  const nearest = this.getNearest();
43870
+ const underPointer = this.hover.item;
43870
43871
  if (this.isNearBorder(nearest)) {
43871
43872
  this.snap.item = nearest;
43873
+ } else if (underPointer && underPointer !== this.connector) {
43874
+ this.snap.item = underPointer;
43872
43875
  } else {
43873
43876
  this.snap.item = null;
43874
43877
  }
package/dist/cjs/node.js CHANGED
@@ -46340,8 +46340,11 @@ class ConnectorSnap {
46340
46340
  pointerMove() {
46341
46341
  this.setHover();
46342
46342
  const nearest = this.getNearest();
46343
+ const underPointer = this.hover.item;
46343
46344
  if (this.isNearBorder(nearest)) {
46344
46345
  this.snap.item = nearest;
46346
+ } else if (underPointer && underPointer !== this.connector) {
46347
+ this.snap.item = underPointer;
46345
46348
  } else {
46346
46349
  this.snap.item = null;
46347
46350
  }
@@ -43696,8 +43696,11 @@ class ConnectorSnap {
43696
43696
  pointerMove() {
43697
43697
  this.setHover();
43698
43698
  const nearest = this.getNearest();
43699
+ const underPointer = this.hover.item;
43699
43700
  if (this.isNearBorder(nearest)) {
43700
43701
  this.snap.item = nearest;
43702
+ } else if (underPointer && underPointer !== this.connector) {
43703
+ this.snap.item = underPointer;
43701
43704
  } else {
43702
43705
  this.snap.item = null;
43703
43706
  }
package/dist/esm/index.js CHANGED
@@ -43689,8 +43689,11 @@ class ConnectorSnap {
43689
43689
  pointerMove() {
43690
43690
  this.setHover();
43691
43691
  const nearest = this.getNearest();
43692
+ const underPointer = this.hover.item;
43692
43693
  if (this.isNearBorder(nearest)) {
43693
43694
  this.snap.item = nearest;
43695
+ } else if (underPointer && underPointer !== this.connector) {
43696
+ this.snap.item = underPointer;
43694
43697
  } else {
43695
43698
  this.snap.item = null;
43696
43699
  }
package/dist/esm/node.js CHANGED
@@ -46157,8 +46157,11 @@ class ConnectorSnap {
46157
46157
  pointerMove() {
46158
46158
  this.setHover();
46159
46159
  const nearest = this.getNearest();
46160
+ const underPointer = this.hover.item;
46160
46161
  if (this.isNearBorder(nearest)) {
46161
46162
  this.snap.item = nearest;
46163
+ } else if (underPointer && underPointer !== this.connector) {
46164
+ this.snap.item = underPointer;
46162
46165
  } else {
46163
46166
  this.snap.item = null;
46164
46167
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-temp",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "A flexible interactive whiteboard library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",