another type error

This commit is contained in:
Maze Winther 2026-02-27 18:23:13 +01:00
parent 956f3d201b
commit cb8f003478
1 changed files with 9 additions and 2 deletions

View File

@ -450,10 +450,17 @@ function transformTextTrack({
value: textElement.color,
fallback: "#000000",
}),
backgroundColor: getStringValue({
background: {
color: getStringValue({
value: textElement.backgroundColor,
fallback: "#FFFFFF",
fallback: "transparent",
}),
cornerRadius: 0,
paddingX: 8,
paddingY: 4,
offsetX: 0,
offsetY: 0,
},
textAlign: (getStringValue({
value: textElement.textAlign,
fallback: "left",