customized-fabric 2.0.10 → 2.0.12
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.
| @@ -34,6 +34,8 @@ const CurvedTextClass = fabric_1.fabric.util.createClass(fabric_1.fabric.Group, | |
| 34 34 | 
             
                        maxFontSize: 200,
         | 
| 35 35 | 
             
                        ...text,
         | 
| 36 36 | 
             
                        text: isAllCapital ? fullText.toUpperCase() : fullText,
         | 
| 37 | 
            +
                        strokeLineJoin: "round",
         | 
| 38 | 
            +
                        strokeLineCap: "round",
         | 
| 37 39 | 
             
                    });
         | 
| 38 40 | 
             
                    const group = new fabric_1.fabric.Group([this.rectObject, this.textObject]);
         | 
| 39 41 | 
             
                    this.set({
         | 
| @@ -294,7 +294,7 @@ const ImagePlaceholderClass = fabric_1.fabric.util.createClass(fabric_1.fabric.G | |
| 294 294 | 
             
                        const imageFilters = this.imageFilters ?? [];
         | 
| 295 295 | 
             
                        image.filters = imageFilters;
         | 
| 296 296 | 
             
                        image.applyFilters();
         | 
| 297 | 
            -
                        this.canvas | 
| 297 | 
            +
                        this.canvas?.renderAll();
         | 
| 298 298 | 
             
                    }
         | 
| 299 299 | 
             
                },
         | 
| 300 300 | 
             
            });
         | 
| @@ -30,6 +30,8 @@ const TextInputClass = fabric_1.fabric.util.createClass(fabric_1.fabric.Group, { | |
| 30 30 | 
             
                        paintFirst: "stroke",
         | 
| 31 31 | 
             
                        lineHeight: lineHeight ?? 1,
         | 
| 32 32 | 
             
                        charSpacing: charSpacing ?? 0,
         | 
| 33 | 
            +
                        strokeLineJoin: "round",
         | 
| 34 | 
            +
                        strokeLineCap: "round",
         | 
| 33 35 | 
             
                    });
         | 
| 34 36 | 
             
                    const group = new fabric_1.fabric.Group([this.rectObject, this.textObject]);
         | 
| 35 37 | 
             
                    this.set(group);
         |