mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 18:33:33 +00:00
Add additional lyrics customizability options (#146)
This commit is contained in:
parent
72b4a60c7b
commit
fca135ce2b
7 changed files with 230 additions and 64 deletions
|
|
@ -132,9 +132,16 @@ export interface SettingsState {
|
|||
globalMediaHotkeys: boolean;
|
||||
};
|
||||
lyrics: {
|
||||
alignment: 'left' | 'center' | 'right';
|
||||
delayMs: number;
|
||||
fetch: boolean;
|
||||
follow: boolean;
|
||||
fontSize: number;
|
||||
fontSizeUnsync: number;
|
||||
gap: number;
|
||||
gapUnsync: number;
|
||||
showMatch: boolean;
|
||||
showProvider: boolean;
|
||||
sources: LyricSource[];
|
||||
};
|
||||
playback: {
|
||||
|
|
@ -236,9 +243,16 @@ const initialState: SettingsState = {
|
|||
globalMediaHotkeys: true,
|
||||
},
|
||||
lyrics: {
|
||||
alignment: 'center',
|
||||
delayMs: 0,
|
||||
fetch: false,
|
||||
follow: true,
|
||||
fontSize: 46,
|
||||
fontSizeUnsync: 20,
|
||||
gap: 5,
|
||||
gapUnsync: 0,
|
||||
showMatch: true,
|
||||
showProvider: true,
|
||||
sources: [],
|
||||
},
|
||||
playback: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue