@rpg-engine/long-bow 0.7.60 → 0.7.62

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.7.60",
3
+ "version": "0.7.62",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -279,6 +279,10 @@ interface IItemsContainerProps {
279
279
  }
280
280
 
281
281
  const ItemsContainer = styled.div<IItemsContainerProps>`
282
+ * {
283
+ border: 1px solid red;
284
+ }
285
+
282
286
  display: flex;
283
287
  justify-content: ${({ isFullScreen }) =>
284
288
  isFullScreen ? 'flex-start' : 'center'};
@@ -178,7 +178,12 @@ export const useItemSlotDragAndDrop = ({
178
178
  }, 50);
179
179
  } else if (item) {
180
180
  const isTouch = e.type === 'touchend';
181
- if (!isContextMenuDisabled && isTouch && !isSelectingShortcut) {
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;