mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-09 05:20:13 +02:00
add additional configuration to player sidebar
- allow reordering of panels - allow separation between lyrics and visualizer panels - allow resize of panels
This commit is contained in:
@@ -101,6 +101,27 @@ export const SidebarSettings = () => {
|
||||
}),
|
||||
title: t('setting.showVisualizerInSidebar', { postProcess: 'sentenceCase' }),
|
||||
},
|
||||
{
|
||||
control: (
|
||||
<Switch
|
||||
aria-label="Combine lyrics and visualizer"
|
||||
defaultChecked={settings.combinedLyricsAndVisualizer}
|
||||
onChange={(e) => {
|
||||
setSettings({
|
||||
general: {
|
||||
...settings,
|
||||
combinedLyricsAndVisualizer: e.currentTarget.checked,
|
||||
},
|
||||
});
|
||||
}}
|
||||
/>
|
||||
),
|
||||
description: t('setting.combinedLyricsAndVisualizer', {
|
||||
context: 'description',
|
||||
postProcess: 'sentenceCase',
|
||||
}),
|
||||
title: t('setting.combinedLyricsAndVisualizer', { postProcess: 'sentenceCase' }),
|
||||
},
|
||||
];
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user