Refactor settings and fontScale values

This commit is contained in:
Eric Bailey
2024-09-18 12:15:58 -05:00
parent 7d5b1cd081
commit ebb6f6e2c4
10 changed files with 138 additions and 116 deletions
+2 -2
View File
@@ -51,7 +51,7 @@ export function Text({
// @ts-ignore
if (flattened.fontSize) {
// @ts-ignore
flattened.fontSize = flattened.fontSize * fonts.scale
flattened.fontSize = flattened.fontSize * fonts.scaleMultiplier
}
return (
@@ -81,7 +81,7 @@ export function Text({
// @ts-ignore
if (flattened.fontSize) {
// @ts-ignore
flattened.fontSize = flattened.fontSize * fonts.scale
flattened.fontSize = flattened.fontSize * fonts.scaleMultiplier
}
return (