customized-fabric 1.5.3 → 1.5.4
Sign up to get free protection for your applications and to get access to all the features.
@@ -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);
|