Skip to content

Commit

Permalink
ops
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaBogazzi committed Dec 24, 2024
1 parent c32ca36 commit 98ed54a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shapes/text.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@
this._clearCache();
if (this.path) {
// Add the space of a line around the path. This is an approximation
const additionalWidth = this.getHeightOfLine(0) * 1.1;
var additionalWidth = this.getHeightOfLine(0) * 1.1;
this.width = this.path.width + additionalWidth;
this.height = this.path.height + additionalWidth;
}
Expand Down

0 comments on commit 98ed54a

Please sign in to comment.