fixed 'hide dock on blur'

This commit is contained in:
Eugene Pankov 2021-07-12 23:35:42 +02:00
parent 8f55333d23
commit 50c20f08f8
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

View File

@ -117,7 +117,7 @@ export class Window {
}) })
this.window.on('blur', () => { 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() this.hide()
} }
}) })