lbrnts 0.0.14 → 0.0.15

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/index.js +3 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -566,6 +566,9 @@ var CutSettingPropertyElement = class extends LightBurnBaseElement {
566
566
  this.propValue = propValue;
567
567
  }
568
568
  formatValue(value) {
569
+ if (this.propName === "crossHatch" && typeof value === "boolean") {
570
+ return value ? "1" : "0";
571
+ }
569
572
  if (typeof value === "number") {
570
573
  if (value !== 0 && Math.abs(value) < 1e-3) {
571
574
  return value.toFixed(9).replace(/\.?0+$/, "");
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "lbrnts",
3
3
  "main": "dist/index.js",
4
4
  "type": "module",
5
- "version": "0.0.14",
5
+ "version": "0.0.15",
6
6
  "files": [
7
7
  "dist"
8
8
  ],