mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-20 02:18:01 +00:00
add dock hide on blur option
This commit is contained in:
@@ -103,6 +103,12 @@ export class Window {
|
||||
}
|
||||
})
|
||||
|
||||
this.window.on('blur',() => {
|
||||
if (this.configStore.appearance?.dockHideOnBlur) {
|
||||
this.hide()
|
||||
}
|
||||
})
|
||||
|
||||
this.window.loadURL(`file://${app.getAppPath()}/dist/index.html?${this.window.id}`, { extraHeaders: 'pragma: no-cache\n' })
|
||||
|
||||
if (process.platform !== 'darwin') {
|
||||
|
Reference in New Issue
Block a user