|
|
|
@ -94,16 +94,13 @@ export function CaptionsPart(props: {
@@ -94,16 +94,13 @@ export function CaptionsPart(props: {
|
|
|
|
|
/> |
|
|
|
|
<CaptionSetting |
|
|
|
|
label={t("settings.subtitles.backgroundBlurLabel")} |
|
|
|
|
max={64} |
|
|
|
|
max={100} |
|
|
|
|
min={0} |
|
|
|
|
onChange={(v) => |
|
|
|
|
props.setStyling({ |
|
|
|
|
...props.styling, |
|
|
|
|
backgroundBlur: Math.round(v / 4) * 4, |
|
|
|
|
}) |
|
|
|
|
props.setStyling({ ...props.styling, backgroundBlur: v / 100 }) |
|
|
|
|
} |
|
|
|
|
value={props.styling.backgroundBlur} |
|
|
|
|
textTransformer={(s) => `${s}px`} |
|
|
|
|
value={props.styling.backgroundBlur * 100} |
|
|
|
|
textTransformer={(s) => `${s}%`} |
|
|
|
|
/> |
|
|
|
|
<CaptionSetting |
|
|
|
|
label={t("settings.subtitles.textSizeLabel")} |
|
|
|
|