@gamelearn/arcade-components 2.17.10 → 2.17.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.
@@ -145,13 +145,15 @@ function Panel(_ref) {
145
145
 
146
146
  if (boneName === 'head_m') {
147
147
  head = leftEyeVector;
148
- } else {
149
- cameraRef.current.position.setY(leftEyeVector.y - distance);
148
+ return;
150
149
  }
150
+
151
+ cameraRef.current.position.setY(leftEyeVector.y - distance);
152
+ cameraRef.current.position.setX(leftEyeVector.x - 0.5);
151
153
  }
152
154
  });
153
155
  if (head && !isSeated) cameraRef.current.lookAt(head);
154
- cameraRef.current.zoom = 1.85;
156
+ cameraRef.current.zoom = 1.5;
155
157
  } else if (character.type === 'object' || !defaultAnim) {
156
158
  (0, _helpers.cameraFitAnyObject)(object, cameraRef.current);
157
159
  cameraRef.current.zoom = 1;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@gamelearn/arcade-components",
3
3
  "author": "Gamelearn",
4
4
  "license": "unlicense",
5
- "version": "2.17.10",
5
+ "version": "2.17.11",
6
6
  "main": "dist/index.js",
7
7
  "files": [
8
8
  "dist",