@gjsify/example-dom-canvas2d-fireworks 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.
- package/dist/gjs.js +1 -0
- package/package.json +4 -4
package/dist/gjs.js
CHANGED
|
@@ -8118,6 +8118,7 @@ var FireworksWindow = class extends Adw.ApplicationWindow {
|
|
|
8118
8118
|
canvasWidget.installGlobals();
|
|
8119
8119
|
this._canvasContainer.append(canvasWidget);
|
|
8120
8120
|
canvasWidget.onReady(__assignType2((canvas) => {
|
|
8121
|
+
canvasWidget.grab_focus();
|
|
8121
8122
|
canvas.width = canvasWidget.get_allocated_width();
|
|
8122
8123
|
canvas.height = canvasWidget.get_allocated_height();
|
|
8123
8124
|
this._demo = start(canvas);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gjsify/example-dom-canvas2d-fireworks",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"description": "Colorful fireworks Canvas 2D example with Adwaita controls, adapted from https://codepen.io/juliangarnier/pen/gmOwJX",
|
|
5
5
|
"main": "dist/gjs.js",
|
|
6
6
|
"type": "module",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"@girs/gjs": "^4.0.0-rc.2",
|
|
28
28
|
"@girs/gobject-2.0": "^2.88.0-4.0.0-rc.2",
|
|
29
29
|
"@girs/gtk-4.0": "^4.23.0-4.0.0-rc.2",
|
|
30
|
-
"@gjsify/adwaita-web": "^0.1.
|
|
31
|
-
"@gjsify/canvas2d": "^0.1.
|
|
32
|
-
"@gjsify/cli": "^0.1.
|
|
30
|
+
"@gjsify/adwaita-web": "^0.1.10",
|
|
31
|
+
"@gjsify/canvas2d": "^0.1.10",
|
|
32
|
+
"@gjsify/cli": "^0.1.10",
|
|
33
33
|
"@types/node": "^25.6.0",
|
|
34
34
|
"http-server": "^14.1.1",
|
|
35
35
|
"typescript": "^6.0.2"
|