]> git.codecow.com Git - nano-pow.git/commitdiff
Grab changelog from 4.1.8 and fix testing webpage. main
authorChris Duncan <chris@zoso.dev>
Thu, 2 Apr 2026 08:03:57 +0000 (01:03 -0700)
committerChris Duncan <chris@zoso.dev>
Thu, 2 Apr 2026 08:03:57 +0000 (01:03 -0700)
CHANGELOG.md
test/index.html

index 91690e93a9a00e2b2412065a66be6ecbf08040b1..b12ee5eaecf7eaebed64ac20451cafed1fb9d548 100644 (file)
@@ -226,6 +226,14 @@ Improved type checking and removed unnecessary type exports.
 
 Reorganized project structure.
 
+## v4.1.8
+
+### Notable Changes
+
+Pin published package versions from CDNs on testing page.
+
+Update domain name.
+
 ## v4.1.7
 
 ### Notable Changes
index 98d48c01d8b589d089a8264305f896f828946520..be4d16edcfd8c577879b1e94de45c858cb405a4a 100644 (file)
@@ -29,8 +29,8 @@ SPDX-License-Identifier: GPL-3.0-or-later
                const glSize = (canvas => {
                        const gl = canvas.getContext('webgl2')
                        const MAX_VIEWPORT_DIMS = gl.getParameter(gl.MAX_VIEWPORT_DIMS)
-                       canvas.height = MAX_VIEWPORT_DIMS[0]
-                       canvas.width = MAX_VIEWPORT_DIMS[1]
+                       canvas.height = MAX_VIEWPORT_DIMS?.[0] ?? 0x1000
+                       canvas.width = MAX_VIEWPORT_DIMS?.[1] ?? 0x1000
                        return Math.min(gl.drawingBufferHeight, gl.drawingBufferWidth)
                })(new OffscreenCanvas(0, 0))