Change story text size to px
This commit is contained in:
parent
62647a357f
commit
e8d226766d
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ function getFont(
|
||||||
|
|
||||||
const fontWeight = textStyle === TextAttachmentStyleType.BOLD ? 'bold ' : '';
|
const fontWeight = textStyle === TextAttachmentStyleType.BOLD ? 'bold ' : '';
|
||||||
|
|
||||||
return `${fontWeight}${fontSize}pt ${fontName}`;
|
return `${fontWeight}${fontSize}px ${fontName}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getTextStyles(
|
function getTextStyles(
|
||||||
|
|
Loading…
Add table
Reference in a new issue