1
0
mirror of https://github.com/Eugeny/tabby.git synced 2025-08-14 21:31:51 +00:00

fixed , fixed , fixed - "hide on focus loss" not working with multiple windows/modals

This commit is contained in:
Eugene Pankov
2023-04-16 14:08:27 +02:00
parent b144331396
commit 84b0e13dc8

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