Skip to content

Commit

Permalink
fix works
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaBogazzi committed Nov 15, 2024
1 parent 8133ac3 commit 282ee3f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 5 additions & 7 deletions dist/fabric.js
Original file line number Diff line number Diff line change
Expand Up @@ -30417,15 +30417,13 @@ fabric.util.object.extend(fabric.IText.prototype, /** @lends fabric.IText.protot
*/
toSVG: function(reviver) {
var textSvg = this._createBaseSVGMarkup(
this._toSVG(),
{ reviver: reviver, noStyle: true, withShadow: true }
),
path = this.path;

if (path) {
this._toSVG(),
{ reviver: reviver, noStyle: true, withShadow: true }
);
if (this.path) {
return (
textSvg +
path._createBaseSVGMarkup(path._toSVG(), {
this._createBaseSVGMarkup(this.path._toSVG(), {
reviver: reviver,
withShadow: true,
})
Expand Down
2 changes: 1 addition & 1 deletion dist/fabric.min.js

Large diffs are not rendered by default.

0 comments on commit 282ee3f

Please sign in to comment.