mirror of
https://github.com/Eugeny/tabby.git
synced 2025-08-29 20:51: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()) {
|
if (this.electron.app.window.isFocused()) {
|
||||||
// focused
|
// focused
|
||||||
this.electron.loseFocus()
|
this.electron.loseFocus()
|
||||||
this.electron.app.window.hide()
|
if (this.hostApp.platform !== Platform.macOS) {
|
||||||
|
this.electron.app.window.hide()
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
if (!this.electron.app.window.isVisible()) {
|
if (!this.electron.app.window.isVisible()) {
|
||||||
// unfocused, invisible
|
// unfocused, invisible
|
||||||
|
Reference in New Issue
Block a user