@playcanvas/supersplat-viewer 1.11.1 → 1.12.0

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": "@playcanvas/supersplat-viewer",
3
- "version": "1.11.1",
3
+ "version": "1.12.0",
4
4
  "author": "PlayCanvas <support@playcanvas.com>",
5
5
  "homepage": "https://github.com/playcanvas/supersplat-viewer#readme",
6
6
  "description": "Viewer for https://superspl.at",
@@ -42,16 +42,16 @@
42
42
  "@rollup/plugin-json": "6.1.0",
43
43
  "@rollup/plugin-node-resolve": "16.0.3",
44
44
  "@rollup/plugin-typescript": "12.3.0",
45
- "@typescript-eslint/eslint-plugin": "8.53.1",
46
- "@typescript-eslint/parser": "8.53.1",
47
- "autoprefixer": "10.4.23",
45
+ "@typescript-eslint/eslint-plugin": "8.54.0",
46
+ "@typescript-eslint/parser": "8.54.0",
47
+ "autoprefixer": "10.4.24",
48
48
  "concurrently": "9.2.1",
49
49
  "eslint": "9.39.2",
50
- "globals": "17.1.0",
51
- "playcanvas": "2.15.2",
50
+ "globals": "17.3.0",
51
+ "playcanvas": "2.16.1",
52
52
  "postcss": "8.5.6",
53
53
  "publint": "0.3.17",
54
- "rollup": "4.56.0",
54
+ "rollup": "4.57.1",
55
55
  "rollup-plugin-copy": "3.5.0",
56
56
  "rollup-plugin-scss": "4.0.1",
57
57
  "rollup-plugin-string": "3.0.0",
package/public/index.css CHANGED
@@ -325,22 +325,24 @@ button {
325
325
 
326
326
  #joystickBase {
327
327
  position: absolute;
328
- width: 96px;
329
- height: 96px;
328
+ width: 64px;
329
+ height: 120px;
330
330
  transform: translate(-50%, -50%);
331
- border-radius: 50%;
331
+ border-radius: 32px;
332
332
  touch-action: none;
333
- background: radial-gradient(circle at center, rgba(0, 0, 0, 0) 50%, black 100%);
334
- background-color: rgba(0, 0, 0, 0.1333333333);
333
+ background: linear-gradient(180deg, rgba(0, 0, 0, 0.2666666667) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.2666666667) 100%);
334
+ background-color: rgba(0, 0, 0, 0.2);
335
+ border: 2px solid rgba(255, 255, 255, 0.2);
335
336
  }
336
337
  #joystickBase > #joystick {
337
338
  position: absolute;
339
+ left: 8px;
338
340
  width: 48px;
339
341
  height: 48px;
340
- transform: translate(-50%, -50%);
341
342
  border-radius: 50%;
342
343
  touch-action: none;
343
344
  background-color: rgba(255, 255, 255, 0.5333333333);
345
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
344
346
  }
345
347
 
346
348
  #tooltip {