Skip to content

Commit

Permalink
Fixed issue with text align not working anymore.
Browse files Browse the repository at this point in the history
  • Loading branch information
michielvandergeest committed Nov 8, 2024
1 parent 40a5164 commit 93d6ab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engines/L3/element.js
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ const propsTransformer = {
this.props['lineHeight'] = v
},
set align(v) {
if (this.__textnode === true) this.props['textAlign'] = v
this.props['textAlign'] = v
},
set content(v) {
this.props['text'] = '' + v
Expand Down

0 comments on commit 93d6ab9

Please sign in to comment.