@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.
@@ -28149,8 +28149,10 @@ var ItemSlot = /*#__PURE__*/observer(function (_ref) {
28149
28149
  },
28150
28150
  onClick: function onClick() {
28151
28151
  setTooltipVisible(false);
28152
- if (item && !isContextMenuDisabled) {
28153
- setIsContextMenuVisible(!isContextMenuVisible);
28152
+ if (item) {
28153
+ if (!isContextMenuDisabled) {
28154
+ setIsContextMenuVisible(!isContextMenuVisible);
28155
+ }
28154
28156
  _onClick(item.type, containerType, item);
28155
28157
  }
28156
28158
  }