@gjsify/example-dom-three-geometry-teapot 0.1.9 → 0.1.10

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.
Files changed (2) hide show
  1. package/dist/gjs.js +1 -0
  2. package/package.json +4 -4
package/dist/gjs.js CHANGED
@@ -45976,6 +45976,7 @@ var TeapotWindow = class extends Adw.ApplicationWindow {
45976
45976
  configurable: true
45977
45977
  });
45978
45978
  glArea.onReady(__assignType2((canvas) => {
45979
+ glArea.grab_focus();
45979
45980
  const ctx = glArea.get_context();
45980
45981
  print(`Context version: OpenGL${ctx.get_use_es() ? " ES" : ""} ${ctx.get_version().join(".")}`);
45981
45982
  this._demo = start(canvas);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gjsify/example-dom-three-geometry-teapot",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "Three.js geometry teapot example ported from refs/three/examples/webgl_geometry_teapot.html with Adwaita controls",
5
5
  "main": "dist/gjs.js",
6
6
  "type": "module",
@@ -24,7 +24,7 @@
24
24
  "build:assets": "cp -f src/browser/index.html dist/index.html && cp -f src/browser/webgl.css dist/webgl.css && cp -rf src/assets dist/assets"
25
25
  },
26
26
  "dependencies": {
27
- "@gjsify/webgl": "^0.1.9"
27
+ "@gjsify/webgl": "^0.1.10"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@girs/adw-1": "^1.10.0-4.0.0-rc.2",
@@ -32,8 +32,8 @@
32
32
  "@girs/gjs": "^4.0.0-rc.2",
33
33
  "@girs/gobject-2.0": "^2.88.0-4.0.0-rc.2",
34
34
  "@girs/gtk-4.0": "^4.23.0-4.0.0-rc.2",
35
- "@gjsify/adwaita-web": "^0.1.9",
36
- "@gjsify/cli": "^0.1.9",
35
+ "@gjsify/adwaita-web": "^0.1.10",
36
+ "@gjsify/cli": "^0.1.10",
37
37
  "@types/node": "^25.6.0",
38
38
  "@types/three": "^0.183.1",
39
39
  "http-server": "^14.1.1",