@rpg-engine/long-bow 0.2.53 → 0.2.54
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 +4 -2
- 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 +4 -2
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Item/Inventory/ItemSlot.tsx +5 -2
|
@@ -28154,8 +28154,10 @@ var ItemSlot = /*#__PURE__*/mobxReactLite.observer(function (_ref) {
|
|
|
28154
28154
|
},
|
|
28155
28155
|
onClick: function onClick() {
|
|
28156
28156
|
setTooltipVisible(false);
|
|
28157
|
-
if (item
|
|
28158
|
-
|
|
28157
|
+
if (item) {
|
|
28158
|
+
if (!isContextMenuDisabled) {
|
|
28159
|
+
setIsContextMenuVisible(!isContextMenuVisible);
|
|
28160
|
+
}
|
|
28159
28161
|
_onClick(item.type, containerType, item);
|
|
28160
28162
|
}
|
|
28161
28163
|
}
|