q5 4.6.5 → 4.6.6

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/deno.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@q5/q5",
3
- "version": "4.6.5",
3
+ "version": "4.6.6",
4
4
  "license": "LGPL-3.0-only",
5
5
  "description": "Beginner friendly graphics powered by WebGPU, optimized for interactive art!",
6
6
  "author": "quinton-ashley",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "q5",
3
- "version": "4.6.5",
3
+ "version": "4.6.6",
4
4
  "description": "Beginner friendly graphics powered by WebGPU, optimized for interactive art!",
5
5
  "author": "quinton-ashley",
6
6
  "license": "LGPL-3.0-only",
package/q5.js CHANGED
@@ -7660,10 +7660,10 @@ fn fragMain(f: FragParams) -> @location(0) vec4f {
7660
7660
 
7661
7661
  // if the point stroke size is a single pixel (or smaller), use a rectangle
7662
7662
  if (hswScaled <= 0.5) {
7663
- addRect(x, y, hsw, hsw, calcRectRadii(0), hsw, 0);
7663
+ addRect(x, y, qsw, qsw, calcRectRadii(0), hsw, 0);
7664
7664
  } else {
7665
7665
  // dimensions of the point needs to be set to half the stroke weight
7666
- addEllipse(x, y, hsw, hsw, 0, TAU, hsw, 0);
7666
+ addEllipse(x, y, qsw, qsw, 0, TAU, hsw, 0);
7667
7667
  }
7668
7668
  };
7669
7669