mirror of https://github.com/sussy-code/smov.git
Merge pull request 19 with minor changes
This commit is contained in:
parent
493d2bee88
commit
8ce52438d1
9459
pnpm-lock.yaml
9459
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
|
@ -620,7 +620,7 @@
|
|||
"previewQuote": "Would you rather have a thot daughter or a gay son? 🤔",
|
||||
"textSizeLabel": "Text size",
|
||||
"title": "Subtitles",
|
||||
"textBoldLabel": "Text bold"
|
||||
"textBoldLabel": "Bold text"
|
||||
},
|
||||
"unsaved": "You have unsaved changes... ฅ^•ﻌ•^ฅ"
|
||||
}
|
||||
|
|
|
@ -253,6 +253,17 @@ export function CaptionSettingsView({ id }: { id: string }) {
|
|||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex justify-between items-center">
|
||||
<Menu.FieldTitle>
|
||||
{t("settings.subtitles.textBoldLabel")}
|
||||
</Menu.FieldTitle>
|
||||
<div className="flex justify-center items-center">
|
||||
<Toggle
|
||||
enabled={styling.bold}
|
||||
onClick={() => updateStyling({ bold: !styling.bold })}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<Menu.Divider />
|
||||
<CaptionSetting
|
||||
label={t("settings.subtitles.backgroundLabel")}
|
||||
|
@ -278,17 +289,6 @@ export function CaptionSettingsView({ id }: { id: string }) {
|
|||
onChange={(v) => updateStyling({ size: v / 100 })}
|
||||
value={styling.size * 100}
|
||||
/>
|
||||
<div className="flex justify-between items-center">
|
||||
<Menu.FieldTitle>
|
||||
{t("settings.subtitles.textBoldLabel")}
|
||||
</Menu.FieldTitle>
|
||||
<div className="flex justify-center items-center">
|
||||
<Toggle
|
||||
enabled={styling.bold}
|
||||
onClick={() => updateStyling({ bold: !styling.bold })}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex justify-between items-center">
|
||||
<Menu.FieldTitle>
|
||||
{t("settings.subtitles.colorLabel")}
|
||||
|
|
Loading…
Reference in New Issue