style: lint

This commit is contained in:
Neko Ayaka
2025-10-31 02:02:41 +08:00
parent 04730002cf
commit 58530dae23
14 changed files with 94 additions and 88 deletions
@@ -17,8 +17,13 @@ let source: MediaStreamAudioSourceNode | undefined
const normalized = computed(() => Math.min(1, (volumeLevel.value ?? 0) / 100))
function teardown() {
try { source?.disconnect() }
catch {}
try {
source?.disconnect()
}
catch {
}
source = undefined
stopAnalyzer()
}
@@ -60,4 +60,3 @@ export function useElectronMouseAroundWindowBorder(
}
export type UseElectronMouseAroundWindowBorderReturn = ReturnType<typeof useElectronMouseAroundWindowBorder>