@rpg-engine/long-bow 0.6.63 → 0.6.64

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.
@@ -31117,7 +31117,7 @@ var TabsContainer = function TabsContainer(_ref) {
31117
31117
  type = _ref$type === void 0 ? MultitabType.Brown : _ref$type;
31118
31118
  var _useState = useState(tabs[0].id),
31119
31119
  selectedTab = _useState[0],
31120
- setSelectedTab = _useState[1]; //by default the first one
31120
+ setSelectedTab = _useState[1]; // by default the first one
31121
31121
  var onRenderTabs = function onRenderTabs() {
31122
31122
  return tabs.map(function (tab, index) {
31123
31123
  return React.createElement(Tab$1, {
@@ -31143,10 +31143,11 @@ var TabsContainer = function TabsContainer(_ref) {
31143
31143
  };
31144
31144
  return React.createElement(DraggableContainer, {
31145
31145
  onCloseButton: onCloseButton,
31146
- type: onGetContainerType()
31146
+ type: onGetContainerType(),
31147
+ cancelDrag: ".tabs-container *" // Disable drag on all elements inside .tabs-container
31147
31148
  }, onRenderTabs(), React.createElement(BodyContainer, {
31148
31149
  selectedTab: selectedTab,
31149
- className: type
31150
+ className: type + " tabs-container"
31150
31151
  }, children));
31151
31152
  };
31152
31153
  var BodyContainer = /*#__PURE__*/styled.div.withConfig({