@rpg-engine/long-bow 0.7.60 → 0.7.61
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 +1 -1
- 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 +1 -1
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Item/Inventory/hooks/useItemSlotDragAndDrop.ts +6 -1
package/package.json
CHANGED
|
@@ -178,7 +178,12 @@ export const useItemSlotDragAndDrop = ({
|
|
|
178
178
|
}, 50);
|
|
179
179
|
} else if (item) {
|
|
180
180
|
const isTouch = e.type === 'touchend';
|
|
181
|
-
if (
|
|
181
|
+
if (
|
|
182
|
+
!isContextMenuDisabled &&
|
|
183
|
+
isTouch &&
|
|
184
|
+
!isSelectingShortcut &&
|
|
185
|
+
!draggingItem
|
|
186
|
+
) {
|
|
182
187
|
setTooltipState(prev => ({ ...prev, mobileVisible: true }));
|
|
183
188
|
} else if (!isContextMenuDisabled && !isSelectingShortcut && !isTouch) {
|
|
184
189
|
const event = e as MouseEvent;
|