style: lint
This commit is contained in:
+7
-2
@@ -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()
|
||||
}
|
||||
|
||||
-1
@@ -60,4 +60,3 @@ export function useElectronMouseAroundWindowBorder(
|
||||
}
|
||||
|
||||
export type UseElectronMouseAroundWindowBorderReturn = ReturnType<typeof useElectronMouseAroundWindowBorder>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user