@rpg-engine/long-bow 0.5.19 → 0.5.20
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 -7
- 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 -7
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Item/Inventory/ItemSlot.tsx +3 -8
|
@@ -13685,12 +13685,6 @@ var ItemSlot = /*#__PURE__*/mobxReactLite.observer(function (_ref) {
|
|
|
13685
13685
|
dropPosition = _useState8[0],
|
|
13686
13686
|
setDropPosition = _useState8[1];
|
|
13687
13687
|
var dragContainer = React.useRef(null);
|
|
13688
|
-
React.useEffect(function () {
|
|
13689
|
-
// This fixes an issue where if you drag an item inside of a scrollable container (overflow), its cut out
|
|
13690
|
-
if (dragContainer.current) {
|
|
13691
|
-
dragContainer.current.style.position = 'fixed';
|
|
13692
|
-
}
|
|
13693
|
-
}, []);
|
|
13694
13688
|
var _useState9 = React.useState([]),
|
|
13695
13689
|
contextActions = _useState9[0],
|
|
13696
13690
|
setContextActions = _useState9[1];
|
|
@@ -14010,7 +14004,7 @@ var Container$a = /*#__PURE__*/styled.div.withConfig({
|
|
|
14010
14004
|
var ItemContainer = /*#__PURE__*/styled.div.withConfig({
|
|
14011
14005
|
displayName: "ItemSlot__ItemContainer",
|
|
14012
14006
|
componentId: "sc-l2j5ef-1"
|
|
14013
|
-
})(["width:64px;height:64px;", ""], function (props) {
|
|
14007
|
+
})(["width:64px;height:64px;position:fixed;", ";"], function (props) {
|
|
14014
14008
|
return props.isFocused && 'z-index: 100; pointer-events: none;';
|
|
14015
14009
|
});
|
|
14016
14010
|
var ItemQtyContainer = /*#__PURE__*/styled.div.withConfig({
|