From 50c20f08f8456035f6cc8f633b3b7539214b5711 Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Mon, 12 Jul 2021 23:35:42 +0200 Subject: [PATCH] fixed 'hide dock on blur' --- app/lib/window.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/window.ts b/app/lib/window.ts index 43089901..f8c234b9 100644 --- a/app/lib/window.ts +++ b/app/lib/window.ts @@ -117,7 +117,7 @@ export class Window { }) this.window.on('blur', () => { - if (this.configStore.appearance?.dock !== 'off' && this.configStore.appearance?.dockHideOnBlur) { + if ((this.configStore.appearance?.dock ?? 'off') !== 'off' && this.configStore.appearance?.dockHideOnBlur) { this.hide() } })