only hide on blur when docking is enabled - fixes #3782

This commit is contained in:
Eugene Pankov
2021-05-13 17:40:02 +02:00
parent ee368a3716
commit 1326fd7355

View File

@@ -117,7 +117,7 @@ export class Window {
})
this.window.on('blur', () => {
if (this.configStore.appearance?.dockHideOnBlur) {
if (this.configStore.appearance.dock !== 'off' && this.configStore.appearance?.dockHideOnBlur) {
this.hide()
}
})