@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/dist/long-bow.cjs.development.js +2 -2
- 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 +2 -2
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Item/Inventory/ItemContainer.tsx +4 -0
- package/src/components/Item/Inventory/hooks/useItemSlotDragAndDrop.ts +6 -1
|
@@ -27901,7 +27901,7 @@ var useItemSlotDragAndDrop = function useItemSlotDragAndDrop(_ref) {
|
|
|
27901
27901
|
}, 50);
|
|
27902
27902
|
} else if (item) {
|
|
27903
27903
|
var isTouch = e.type === 'touchend';
|
|
27904
|
-
if (!isContextMenuDisabled && isTouch && !isSelectingShortcut) {
|
|
27904
|
+
if (!isContextMenuDisabled && isTouch && !isSelectingShortcut && !draggingItem) {
|
|
27905
27905
|
setTooltipState(function (prev) {
|
|
27906
27906
|
return _extends({}, prev, {
|
|
27907
27907
|
mobileVisible: true
|
|
@@ -30778,7 +30778,7 @@ var ItemContainer$1 = function ItemContainer(_ref) {
|
|
|
30778
30778
|
var ItemsContainer = /*#__PURE__*/styled__default.div.withConfig({
|
|
30779
30779
|
displayName: "ItemContainer__ItemsContainer",
|
|
30780
30780
|
componentId: "sc-15y5p9l-0"
|
|
30781
|
-
})(["display:flex;justify-content:", ";flex-wrap:wrap;max-height:", ";overflow-y:", ";overflow-x:hidden;width:", ";max-height:", ";@media screen and (max-height:350px){max-height:", ";}"], function (_ref2) {
|
|
30781
|
+
})(["*{border:1px solid red;}display:flex;justify-content:", ";flex-wrap:wrap;max-height:", ";overflow-y:", ";overflow-x:hidden;width:", ";max-height:", ";@media screen and (max-height:350px){max-height:", ";}"], function (_ref2) {
|
|
30782
30782
|
var isFullScreen = _ref2.isFullScreen;
|
|
30783
30783
|
return isFullScreen ? 'flex-start' : 'center';
|
|
30784
30784
|
}, function (_ref3) {
|