@rpg-engine/long-bow 0.2.9 → 0.2.11

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpg-engine/long-bow",
3
- "version": "0.2.9",
3
+ "version": "0.2.11",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -51,8 +51,11 @@ export const PropertySelect: React.FC<IPropertySelectProps> = ({
51
51
  <Item>{getCurrentSelectionName()}</Item>
52
52
  </TextOverlay>
53
53
  <div className="rpgui-progress-track"></div>
54
- <LeftArrow onClick={onLeftClick}></LeftArrow>
55
- <RightArrow onClick={onRightClick}></RightArrow>
54
+ <LeftArrow onClick={onLeftClick} onTouchStart={onLeftClick}></LeftArrow>
55
+ <RightArrow
56
+ onClick={onRightClick}
57
+ onTouchStart={onRightClick}
58
+ ></RightArrow>
56
59
  </Container>
57
60
  );
58
61
  };
@@ -55,13 +55,23 @@ export const QuestInfo: React.FC<IQuestInfoProps> = ({
55
55
  if (onClose) onClose();
56
56
  }}
57
57
  width="730px"
58
- cancelDrag=".equipment-container-body"
58
+ cancelDrag=".equipment-container-body .arrow-selector"
59
59
  >
60
60
  {quests.length >= 2 ? (
61
61
  <QuestsContainer>
62
- {currentIndex !== 0 && <LeftArrow onClick={onLeftClick}></LeftArrow>}
62
+ {currentIndex !== 0 && (
63
+ <LeftArrow
64
+ className="arrow-selector"
65
+ onClick={onLeftClick}
66
+ onTouchStart={onLeftClick}
67
+ ></LeftArrow>
68
+ )}
63
69
  {currentIndex !== quests.length - 1 && (
64
- <RightArrow onClick={onRightClick}></RightArrow>
70
+ <RightArrow
71
+ className="arrow-selector"
72
+ onClick={onRightClick}
73
+ onTouchStart={onRightClick}
74
+ ></RightArrow>
65
75
  )}
66
76
 
67
77
  <QuestContainer>
@@ -141,13 +151,12 @@ export const QuestInfo: React.FC<IQuestInfoProps> = ({
141
151
  const QuestDraggableContainer = styled(DraggableContainer)`
142
152
  border: 1px solid black;
143
153
  width: 600px;
144
- height: 500px;
145
154
  padding: 0 0 0 0 !important;
146
155
  .DraggableContainer__TitleContainer-sc-184mpyl-2 {
147
156
  height: auto;
148
157
  }
149
158
  .container-close {
150
- position: sticky;
159
+ position: absolute;
151
160
  margin-left: auto;
152
161
  top: 20px;
153
162
  padding-right: 5px;