Skip to content

Commit

Permalink
fix: HiText兼容web单位
Browse files Browse the repository at this point in the history
  • Loading branch information
linjinze999 committed Sep 4, 2024
1 parent a7a1993 commit 42593d7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ function getStyles(params: HiTextRenderParams) {
}
}
if (size) {
// @ts-expect-error
textStyle.fontSize = size;
}
if (lineHeight) {
Expand Down

0 comments on commit 42593d7

Please sign in to comment.