style: format config settings changes

This commit is contained in:
2026-05-17 02:41:17 -07:00
parent 309ce6ef8f
commit 58f5fff6ad
6 changed files with 10 additions and 20 deletions
+1 -3
View File
@@ -350,9 +350,7 @@ export function applySubtitleDomainConfig(context: ResolveContext): void {
);
}
const nPlusOneColor = asColor(
(src.subtitleStyle as { nPlusOneColor?: unknown }).nPlusOneColor,
);
const nPlusOneColor = asColor((src.subtitleStyle as { nPlusOneColor?: unknown }).nPlusOneColor);
if (nPlusOneColor !== undefined) {
resolved.subtitleStyle.nPlusOneColor = nPlusOneColor;
} else if ((src.subtitleStyle as { nPlusOneColor?: unknown }).nPlusOneColor !== undefined) {