@connectedxm/zpl-generator 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.es.js +4 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -3228,7 +3228,10 @@ function Qs(e, t) {
|
|
|
3228
3228
|
}
|
|
3229
3229
|
function ec(e, t) {
|
|
3230
3230
|
if (e.measuredWidth !== void 0 && e.maxWidth > 0)
|
|
3231
|
-
return Math.max(
|
|
3231
|
+
return Math.max(
|
|
3232
|
+
1,
|
|
3233
|
+
Math.floor((e.measuredWidth + 10) / e.maxWidth) + 1
|
|
3234
|
+
);
|
|
3232
3235
|
const n = t.split("\\&"), r = e.charsPerLine ?? 0;
|
|
3233
3236
|
return tc(n, r);
|
|
3234
3237
|
}
|