customized-fabric 1.5.3 → 1.5.4

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.
@@ -48,6 +48,7 @@ const CurvedTextClass = fabric_1.fabric.util.createClass(fabric_1.fabric.Group,
48
48
  ...rest,
49
49
  layerId: options?.personalizeId ?? options?.layerId,
50
50
  objectCaching: false,
51
+ pathVisible: !(options?.isOriginal || options?.hideStroke),
51
52
  });
52
53
  this.autoChangeFontSize(0.1);
53
54
  this.calculateTextPath(this.width, this.height);
@@ -172,6 +173,7 @@ const CurvedTextClass = fabric_1.fabric.util.createClass(fabric_1.fabric.Group,
172
173
  objectCaching: false,
173
174
  originX: "center",
174
175
  originY: "center",
176
+ visible: this.pathVisible,
175
177
  });
176
178
  this.pathObject = path;
177
179
  const pathInfo = fabric_1.fabric.util?.getPathSegmentsInfo?.(path.path);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "customized-fabric",
3
- "version": "1.5.3",
3
+ "version": "1.5.4",
4
4
  "description": "Customized fabric",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",