svelte-dnd-action 0.9.27 → 0.9.28

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/index.js CHANGED
@@ -1263,10 +1263,6 @@
1263
1263
  if (!typeToDropZones.get(type).has(dropZoneEl)) {
1264
1264
  typeToDropZones.get(type).add(dropZoneEl);
1265
1265
  incrementActiveDropZoneCount();
1266
- if (isWorkingOnPreviousDrag) {
1267
- unWatchDraggedElement();
1268
- watchDraggedElement();
1269
- }
1270
1266
  }
1271
1267
  }
1272
1268
  function unregisterDropZone(dropZoneEl, type) {
package/dist/index.mjs CHANGED
@@ -1257,10 +1257,6 @@ function registerDropZone(dropZoneEl, type) {
1257
1257
  if (!typeToDropZones.get(type).has(dropZoneEl)) {
1258
1258
  typeToDropZones.get(type).add(dropZoneEl);
1259
1259
  incrementActiveDropZoneCount();
1260
- if (isWorkingOnPreviousDrag) {
1261
- unWatchDraggedElement();
1262
- watchDraggedElement();
1263
- }
1264
1260
  }
1265
1261
  }
1266
1262
  function unregisterDropZone(dropZoneEl, type) {
package/package.json CHANGED
@@ -43,7 +43,7 @@
43
43
  "dist"
44
44
  ],
45
45
  "description": "*An awesome drag and drop library for Svelte 3 (not using the browser's built-in dnd, thanks god): Rich animations, nested containers, touch support and more *",
46
- "version": "0.9.27",
46
+ "version": "0.9.28",
47
47
  "repository": {
48
48
  "type": "git",
49
49
  "url": "git+https://github.com/isaacHagoel/svelte-dnd-action.git"
@@ -73,10 +73,6 @@ function registerDropZone(dropZoneEl, type) {
73
73
  if (!typeToDropZones.get(type).has(dropZoneEl)) {
74
74
  typeToDropZones.get(type).add(dropZoneEl);
75
75
  incrementActiveDropZoneCount();
76
- if (isWorkingOnPreviousDrag) {
77
- unWatchDraggedElement();
78
- watchDraggedElement();
79
- }
80
76
  }
81
77
  }
82
78
  function unregisterDropZone(dropZoneEl, type) {