This commit is contained in:
lyswhut
2023-02-01 12:50:52 +08:00
parent ba3b2f613a
commit 6075f413dc
50 changed files with 74 additions and 70 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ import {
saveViewPrevState as saveViewPrevStateFromData,
} from '@renderer/utils/ipc'
import { throttle } from '@common/utils'
import { DEFAULT_SETTING, LIST_IDS } from '@common/constants'
import { type DEFAULT_SETTING, LIST_IDS } from '@common/constants'
import { dateFormat } from './index'
import { setUpdateTime } from '@renderer/store/list/action'
+1 -1
View File
@@ -53,7 +53,7 @@ export const getFontSizeWithScreen = (screenWidth: number = window.innerWidth):
export const deduplicationList = <T extends LX.Music.MusicInfo>(list: T[]): T[] => {
const ids: Set<string> = new Set()
const ids = new Set<string>()
return list.filter(s => {
if (ids.has(s.id)) return false
ids.add(s.id)
+1 -1
View File
@@ -1,6 +1,6 @@
import { isMac } from '@common/utils'
const downKeys: Set<string> = new Set()
const downKeys = new Set<string>()
export declare type KeyActionType = LX.KeyDownEevent['type']
export declare type Keys = LX.KeyDownEevent['keys']