@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
|
@@ -13911,6 +13911,9 @@ var ItemSlot = /*#__PURE__*/mobxReactLite.observer(function (_ref) {
|
|
|
13911
13911
|
setItemShortcut(item, index);
|
|
13912
13912
|
}
|
|
13913
13913
|
}
|
|
13914
|
+
// remove the class react-draggable-dragging from the element
|
|
13915
|
+
// to prevent the item from being dragged again
|
|
13916
|
+
target.classList.remove('react-draggable-dragging');
|
|
13914
13917
|
if (wasDragged && item && !isSelectingShortcut) {
|
|
13915
13918
|
var _e$target;
|
|
13916
13919
|
//@ts-ignore
|