@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
package/dist/long-bow.esm.js
CHANGED
|
@@ -27895,7 +27895,7 @@ var useItemSlotDragAndDrop = function useItemSlotDragAndDrop(_ref) {
|
|
|
27895
27895
|
}, 50);
|
|
27896
27896
|
} else if (item) {
|
|
27897
27897
|
var isTouch = e.type === 'touchend';
|
|
27898
|
-
if (!isContextMenuDisabled && isTouch && !isSelectingShortcut) {
|
|
27898
|
+
if (!isContextMenuDisabled && isTouch && !isSelectingShortcut && !draggingItem) {
|
|
27899
27899
|
setTooltipState(function (prev) {
|
|
27900
27900
|
return _extends({}, prev, {
|
|
27901
27901
|
mobileVisible: true
|
|
@@ -30775,7 +30775,7 @@ var ItemContainer$1 = function ItemContainer(_ref) {
|
|
|
30775
30775
|
var ItemsContainer = /*#__PURE__*/styled.div.withConfig({
|
|
30776
30776
|
displayName: "ItemContainer__ItemsContainer",
|
|
30777
30777
|
componentId: "sc-15y5p9l-0"
|
|
30778
|
-
})(["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) {
|
|
30778
|
+
})(["*{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) {
|
|
30779
30779
|
var isFullScreen = _ref2.isFullScreen;
|
|
30780
30780
|
return isFullScreen ? 'flex-start' : 'center';
|
|
30781
30781
|
}, function (_ref3) {
|