mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
Settings fixes
This commit is contained in:
@@ -5,24 +5,28 @@ export const GeneralTab = () => {
|
||||
const options = [
|
||||
{
|
||||
control: <Select disabled data={[]} />,
|
||||
description: 'Primary application language ',
|
||||
description: 'Sets the application language',
|
||||
isHidden: false,
|
||||
title: 'Language',
|
||||
},
|
||||
{
|
||||
control: <Select disabled data={[]} />,
|
||||
description: 'Theme for the application',
|
||||
description: 'Sets the default theme',
|
||||
isHidden: false,
|
||||
title: 'Theme',
|
||||
},
|
||||
{
|
||||
control: <Select disabled data={[]} />,
|
||||
description: 'Font for the application',
|
||||
description: 'Sets the default font',
|
||||
isHidden: false,
|
||||
title: 'Font',
|
||||
},
|
||||
{
|
||||
control: (
|
||||
<Select disabled data={['Windows', 'macOS']} defaultValue="Windows" />
|
||||
),
|
||||
description: 'Font for the application',
|
||||
description: 'Adjust the style of the titlebar',
|
||||
isHidden: false,
|
||||
title: 'Titlebar style',
|
||||
},
|
||||
];
|
||||
|
||||
@@ -226,6 +226,7 @@ export const PlaybackTab = () => {
|
||||
<Tooltip label="Backward">
|
||||
<NumberInput
|
||||
defaultValue={settings.skipButtons.skipBackwardSeconds}
|
||||
min={0}
|
||||
width={75}
|
||||
onBlur={(e) =>
|
||||
update({
|
||||
@@ -243,6 +244,7 @@ export const PlaybackTab = () => {
|
||||
<Tooltip label="Forward">
|
||||
<NumberInput
|
||||
defaultValue={settings.skipButtons.skipForwardSeconds}
|
||||
min={0}
|
||||
width={75}
|
||||
onBlur={(e) =>
|
||||
update({
|
||||
|
||||
@@ -8,7 +8,7 @@ export const Settings = () => {
|
||||
const currentTab = useSettingsStore((state) => state.tab);
|
||||
const update = useSettingsStore((state) => state.setSettings);
|
||||
return (
|
||||
<Box px="1rem" sx={{ height: '800px', maxHeight: '50vh' }}>
|
||||
<Box pr={15} sx={{ height: '800px', maxHeight: '50vh' }}>
|
||||
<Tabs
|
||||
orientation="horizontal"
|
||||
styles={{
|
||||
|
||||
Reference in New Issue
Block a user