mirror of
https://github.com/Eugeny/tabby.git
synced 2025-08-18 15:21:51 +00:00
auto-show window when cmd-tabbing into Terminus
This commit is contained in:
@@ -131,7 +131,9 @@ export class AppRootComponent {
|
||||
if (this.electron.app.window.isFocused()) {
|
||||
// focused
|
||||
this.electron.loseFocus()
|
||||
this.electron.app.window.hide()
|
||||
if (this.hostApp.platform !== Platform.macOS) {
|
||||
this.electron.app.window.hide()
|
||||
}
|
||||
} else {
|
||||
if (!this.electron.app.window.isVisible()) {
|
||||
// unfocused, invisible
|
||||
|
Reference in New Issue
Block a user