@rpg-engine/long-bow 0.4.3 → 0.4.4

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.
@@ -15623,6 +15623,8 @@ var ProgressBar = function ProgressBar(_ref) {
15623
15623
  _ref$minWidth = _ref.minWidth,
15624
15624
  minWidth = _ref$minWidth === void 0 ? 100 : _ref$minWidth,
15625
15625
  style = _ref.style;
15626
+ value = Math.round(value);
15627
+ max = Math.round(max);
15626
15628
  var calculatePercentageValue = function calculatePercentageValue(max, value) {
15627
15629
  if (value > max) {
15628
15630
  value = max;
@@ -16165,6 +16167,9 @@ var SkillsContainer = function SkillsContainer(_ref) {
16165
16167
  var _Object$entries$_i = _Object$entries[_i],
16166
16168
  key = _Object$entries$_i[0],
16167
16169
  value = _Object$entries$_i[1];
16170
+ if (key === 'stamina') {
16171
+ continue;
16172
+ }
16168
16173
  //@ts-ignore
16169
16174
  var skillDetails = skill[key];
16170
16175
  output.push(React__default.createElement(SkillProgressBar, {
@@ -16211,7 +16216,7 @@ var SkillsContainer = function SkillsContainer(_ref) {
16211
16216
  var SkillsDraggableContainer = /*#__PURE__*/styled(DraggableContainer).withConfig({
16212
16217
  displayName: "SkillsContainer__SkillsDraggableContainer",
16213
16218
  componentId: "sc-1g0c67q-0"
16214
- })(["border:1px solid black;@media screen and (min-width:800px){body{width:800px;}}@media screen and (max-width:800px){body{width:400px;}}height:90%;.DraggableContainer__TitleContainer-sc-184mpyl-2{width:auto;height:auto;}"]);
16219
+ })(["border:1px solid black;max-width:380px;height:90%;.DraggableContainer__TitleContainer-sc-184mpyl-2{width:auto;height:auto;}"]);
16215
16220
  var SkillsContainerDiv = /*#__PURE__*/styled.div.withConfig({
16216
16221
  displayName: "SkillsContainer__SkillsContainerDiv",
16217
16222
  componentId: "sc-1g0c67q-1"