Add dock always on top setting

This commit is contained in:
Gobius Dolhain
2020-04-20 18:38:02 +02:00
parent b8d9f6442a
commit 676bbba7a4
4 changed files with 20 additions and 3 deletions

View File

@@ -193,8 +193,13 @@ export class Window {
this.window.focus()
})
} else {
// docked, visible
this.window.hide()
if (this.configStore.appearance?.dockAlwaysOnTop) {
// docked, visible, on top
this.window.hide()
} else {
// docked, visible, not on top
this.window.focus()
}
}
}
}