@rpg-engine/long-bow 0.5.31 → 0.5.32
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/long-bow.cjs.development.js +3 -0
- package/dist/long-bow.cjs.development.js.map +1 -1
- package/dist/long-bow.cjs.production.min.js +1 -1
- package/dist/long-bow.cjs.production.min.js.map +1 -1
- package/dist/long-bow.esm.js +3 -0
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Item/Inventory/ItemSlot.tsx +6 -0
package/dist/long-bow.esm.js
CHANGED
|
@@ -13906,6 +13906,9 @@ var ItemSlot = /*#__PURE__*/observer(function (_ref) {
|
|
|
13906
13906
|
setItemShortcut(item, index);
|
|
13907
13907
|
}
|
|
13908
13908
|
}
|
|
13909
|
+
// remove the class react-draggable-dragging from the element
|
|
13910
|
+
// to prevent the item from being dragged again
|
|
13911
|
+
target.classList.remove('react-draggable-dragging');
|
|
13909
13912
|
if (wasDragged && item && !isSelectingShortcut) {
|
|
13910
13913
|
var _e$target;
|
|
13911
13914
|
//@ts-ignore
|