feat(settings): touch screen optimization

This commit is contained in:
Hakadao
2024-09-09 00:59:58 +08:00
parent a96d2f0ef6
commit a34adefe0b
10 changed files with 149 additions and 105 deletions

View File

@@ -10,6 +10,7 @@ export const accessKey = useStorageLocal('accessKey', '')
export interface Settings {
language: string
touchScreenOptimization: boolean
enableGridLayoutSwitcher: boolean
enableHorizontalScrolling: boolean
@@ -83,6 +84,7 @@ export interface Settings {
}
export const settings = useStorageLocal('settings', ref<Settings>({
language: '',
touchScreenOptimization: false,
enableGridLayoutSwitcher: true,
enableHorizontalScrolling: false,