Change story text size to px

This commit is contained in:
Josh Perez
2022-09-19 14:48:10 -04:00
committed by GitHub
parent 62647a357f
commit e8d226766d

View File

@@ -88,7 +88,7 @@ function getFont(
const fontWeight = textStyle === TextAttachmentStyleType.BOLD ? 'bold ' : '';
return `${fontWeight}${fontSize}pt ${fontName}`;
return `${fontWeight}${fontSize}px ${fontName}`;
}
function getTextStyles(