@rpg-engine/long-bow 0.3.78 → 0.3.79

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpg-engine/long-bow",
3
- "version": "0.3.78",
3
+ "version": "0.3.79",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -346,7 +346,11 @@ export const ItemSlot: React.FC<IProps> = observer(
346
346
  }, 100);
347
347
  } else if (item) {
348
348
  let isTouch = false;
349
- if (e.type === 'touchend' && !isSelectingShortcut) {
349
+ if (
350
+ !isContextMenuDisabled &&
351
+ e.type === 'touchend' &&
352
+ !isSelectingShortcut
353
+ ) {
350
354
  isTouch = true;
351
355
  setIsTooltipMobileVisible(true);
352
356
  }