@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.
@@ -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 && !isContextMenuDisabled) {
28158
- setIsContextMenuVisible(!isContextMenuVisible);
28157
+ if (item) {
28158
+ if (!isContextMenuDisabled) {
28159
+ setIsContextMenuVisible(!isContextMenuVisible);
28160
+ }
28159
28161
  _onClick(item.type, containerType, item);
28160
28162
  }
28161
28163
  }