@rpg-engine/long-bow 0.2.94 → 0.2.96

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.
@@ -32649,10 +32649,7 @@ var Container$2 = /*#__PURE__*/styled.div.withConfig({
32649
32649
  var CharacterSelection = function CharacterSelection(_ref) {
32650
32650
  var availableCharacters = _ref.availableCharacters,
32651
32651
  onChange = _ref.onChange;
32652
- var randomSort = function randomSort() {
32653
- return 0.5 - Math.random();
32654
- };
32655
- var propertySelectValues = availableCharacters.sort(randomSort).map(function (item) {
32652
+ var propertySelectValues = availableCharacters.map(function (item) {
32656
32653
  return {
32657
32654
  id: item.textureKey,
32658
32655
  name: item.name
@@ -32667,7 +32664,6 @@ var CharacterSelection = function CharacterSelection(_ref) {
32667
32664
  var onSelectedValueChange = function onSelectedValueChange() {
32668
32665
  var textureKey = selectedValue ? selectedValue.id : '';
32669
32666
  var spriteKey = textureKey ? textureKey + '/down/standing/0.png' : '';
32670
- console.log(selectedValue);
32671
32667
  if (spriteKey === selectedSpriteKey) {
32672
32668
  return;
32673
32669
  }
@@ -32950,10 +32946,10 @@ function useOutsideClick(ref, id) {
32950
32946
  }
32951
32947
  }
32952
32948
  // Bind the event listener
32953
- document.addEventListener('mousedown', handleClickOutside);
32949
+ document.addEventListener('pointerdown', handleClickOutside);
32954
32950
  return function () {
32955
32951
  // Unbind the event listener on clean up
32956
- document.removeEventListener('mousedown', handleClickOutside);
32952
+ document.removeEventListener('pointerdown', handleClickOutside);
32957
32953
  };
32958
32954
  }, [ref]);
32959
32955
  }
@@ -33033,7 +33029,7 @@ var Container$6 = /*#__PURE__*/styled.div.withConfig({
33033
33029
  var CloseButton$1 = /*#__PURE__*/styled.div.withConfig({
33034
33030
  displayName: "DraggableContainer__CloseButton",
33035
33031
  componentId: "sc-184mpyl-1"
33036
- })(["position:absolute;top:3px;right:0px;color:white;z-index:22;font-size:0.8rem;"]);
33032
+ })(["position:absolute;top:3px;right:0px;color:white;z-index:22;font-size:1.1rem;"]);
33037
33033
  var TitleContainer = /*#__PURE__*/styled.div.withConfig({
33038
33034
  displayName: "DraggableContainer__TitleContainer",
33039
33035
  componentId: "sc-184mpyl-2"
@@ -35177,7 +35173,7 @@ var SkillSplitDiv = /*#__PURE__*/styled.div.withConfig({
35177
35173
  var CloseButton$3 = /*#__PURE__*/styled.div.withConfig({
35178
35174
  displayName: "SkillsContainer__CloseButton",
35179
35175
  componentId: "sc-1g0c67q-2"
35180
- })(["position:absolute;top:2px;right:2px;color:white;z-index:22;font-size:0.7rem;"]);
35176
+ })(["position:absolute;top:2px;right:2px;color:white;z-index:22;font-size:1.1rem;"]);
35181
35177
 
35182
35178
  var TextArea = function TextArea(_ref) {
35183
35179
  var props = _extends({}, (_objectDestructuringEmpty(_ref), _ref));