mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 18:33:33 +00:00
Add volume wheel scroll & new slider component
This commit is contained in:
parent
01fdd25406
commit
4cbc28a087
8 changed files with 178 additions and 103 deletions
|
|
@ -37,6 +37,7 @@ export interface SettingsState {
|
|||
theme: AppTheme;
|
||||
themeDark: AppTheme;
|
||||
themeLight: AppTheme;
|
||||
volumeWheelStep: number;
|
||||
};
|
||||
player: {
|
||||
audioDeviceId?: string | null;
|
||||
|
|
@ -90,6 +91,7 @@ export const useSettingsStore = create<SettingsSlice>()(
|
|||
theme: AppTheme.DEFAULT_DARK,
|
||||
themeDark: AppTheme.DEFAULT_DARK,
|
||||
themeLight: AppTheme.DEFAULT_LIGHT,
|
||||
volumeWheelStep: 5,
|
||||
},
|
||||
player: {
|
||||
audioDeviceId: undefined,
|
||||
|
|
@ -222,7 +224,7 @@ export const useSettingsStore = create<SettingsSlice>()(
|
|||
return merge(currentState, persistedState);
|
||||
},
|
||||
name: 'store_settings',
|
||||
version: 2,
|
||||
version: 3,
|
||||
},
|
||||
),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue