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.
- package/dist/index.js +3 -0
- 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+$/, "");
|