@rpg-engine/long-bow 0.3.57 → 0.3.58

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.
@@ -1,7 +1,7 @@
1
1
  import { IRawSpell } from '@rpg-engine/shared';
2
2
  import React from 'react';
3
3
  export declare type CircularControllerProps = {
4
- onActionPointerDown: () => void;
4
+ onActionClick: () => void;
5
5
  onCancelClick: () => void;
6
6
  onSpellClick: (spellKey: string) => void;
7
7
  mana: number;
@@ -33105,7 +33105,7 @@ var List = /*#__PURE__*/styled.p.withConfig({
33105
33105
  })(["width:100%;display:flex;align-items:center;justify-content:center;gap:0.5rem;box-sizing:border-box;margin:0 !important;"]);
33106
33106
 
33107
33107
  var CircularController = function CircularController(_ref) {
33108
- var onActionPointerDown = _ref.onActionPointerDown,
33108
+ var onActionClick = _ref.onActionClick,
33109
33109
  onCancelClick = _ref.onCancelClick,
33110
33110
  onSpellClick = _ref.onSpellClick,
33111
33111
  mana = _ref.mana,
@@ -33142,7 +33142,7 @@ var CircularController = function CircularController(_ref) {
33142
33142
  })));
33143
33143
  })), React__default.createElement(Button$2, {
33144
33144
  onTouchStart: onTouchStart,
33145
- onTouchEnd: onTouchEnd.bind(null, onActionPointerDown)
33145
+ onTouchEnd: onTouchEnd.bind(null, onActionClick)
33146
33146
  }, React__default.createElement("div", {
33147
33147
  className: "rpgui-icon sword"
33148
33148
  })), React__default.createElement(CancelButton, {