Skip to content

Commit

Permalink
fixed?
Browse files Browse the repository at this point in the history
  • Loading branch information
asturur committed May 26, 2024
1 parent e705b2e commit 3d9d8b8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/shapes/Text/Text.ts
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,9 @@ export class FabricText<
super();
Object.assign(this, FabricText.ownDefaults);
this.setOptions(options);
if (!this.styles) {
this.styles = {};
}
this.text = text;
this.initialized = true;
if (this.path) {
Expand Down

0 comments on commit 3d9d8b8

Please sign in to comment.