@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.
@@ -32643,10 +32643,7 @@ var Container$2 = /*#__PURE__*/styled.div.withConfig({
32643
32643
  var CharacterSelection = function CharacterSelection(_ref) {
32644
32644
  var availableCharacters = _ref.availableCharacters,
32645
32645
  onChange = _ref.onChange;
32646
- var randomSort = function randomSort() {
32647
- return 0.5 - Math.random();
32648
- };
32649
- var propertySelectValues = availableCharacters.sort(randomSort).map(function (item) {
32646
+ var propertySelectValues = availableCharacters.map(function (item) {
32650
32647
  return {
32651
32648
  id: item.textureKey,
32652
32649
  name: item.name
@@ -32661,7 +32658,6 @@ var CharacterSelection = function CharacterSelection(_ref) {
32661
32658
  var onSelectedValueChange = function onSelectedValueChange() {
32662
32659
  var textureKey = selectedValue ? selectedValue.id : '';
32663
32660
  var spriteKey = textureKey ? textureKey + '/down/standing/0.png' : '';
32664
- console.log(selectedValue);
32665
32661
  if (spriteKey === selectedSpriteKey) {
32666
32662
  return;
32667
32663
  }
@@ -32945,10 +32941,10 @@ function useOutsideClick(ref, id) {
32945
32941
  }
32946
32942
  }
32947
32943
  // Bind the event listener
32948
- document.addEventListener('mousedown', handleClickOutside);
32944
+ document.addEventListener('pointerdown', handleClickOutside);
32949
32945
  return function () {
32950
32946
  // Unbind the event listener on clean up
32951
- document.removeEventListener('mousedown', handleClickOutside);
32947
+ document.removeEventListener('pointerdown', handleClickOutside);
32952
32948
  };
32953
32949
  }, [ref]);
32954
32950
  }
@@ -33028,7 +33024,7 @@ var Container$6 = /*#__PURE__*/styled.div.withConfig({
33028
33024
  var CloseButton$1 = /*#__PURE__*/styled.div.withConfig({
33029
33025
  displayName: "DraggableContainer__CloseButton",
33030
33026
  componentId: "sc-184mpyl-1"
33031
- })(["position:absolute;top:3px;right:0px;color:white;z-index:22;font-size:0.8rem;"]);
33027
+ })(["position:absolute;top:3px;right:0px;color:white;z-index:22;font-size:1.1rem;"]);
33032
33028
  var TitleContainer = /*#__PURE__*/styled.div.withConfig({
33033
33029
  displayName: "DraggableContainer__TitleContainer",
33034
33030
  componentId: "sc-184mpyl-2"
@@ -35175,7 +35171,7 @@ var SkillSplitDiv = /*#__PURE__*/styled.div.withConfig({
35175
35171
  var CloseButton$3 = /*#__PURE__*/styled.div.withConfig({
35176
35172
  displayName: "SkillsContainer__CloseButton",
35177
35173
  componentId: "sc-1g0c67q-2"
35178
- })(["position:absolute;top:2px;right:2px;color:white;z-index:22;font-size:0.7rem;"]);
35174
+ })(["position:absolute;top:2px;right:2px;color:white;z-index:22;font-size:1.1rem;"]);
35179
35175
 
35180
35176
  var TextArea = function TextArea(_ref) {
35181
35177
  var props = _extends({}, (_objectDestructuringEmpty(_ref), _ref));