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