mirror of
https://github.com/Eugeny/tabby.git
synced 2024-11-22 11:52:03 +03:00
fixed #7162, fixed #7309, fixed #6812 - "hide on focus loss" not working with multiple windows/modals
This commit is contained in:
parent
b144331396
commit
84b0e13dc8
@ -125,7 +125,11 @@ export class Window {
|
||||
})
|
||||
|
||||
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()
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user