mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-24 13:29:55 +00:00
windows fix
This commit is contained in:
parent
426bedd7b7
commit
dc813b8edb
@ -20,6 +20,9 @@ export class TouchbarService {
|
|||||||
private electron: ElectronService,
|
private electron: ElectronService,
|
||||||
private zone: NgZone,
|
private zone: NgZone,
|
||||||
) {
|
) {
|
||||||
|
if (this.hostApp.platform !== Platform.macOS) {
|
||||||
|
return
|
||||||
|
}
|
||||||
app.tabsChanged$.subscribe(() => this.update())
|
app.tabsChanged$.subscribe(() => this.update())
|
||||||
app.activeTabChange$.subscribe(() => this.update())
|
app.activeTabChange$.subscribe(() => this.update())
|
||||||
app.tabOpened$.subscribe(tab => {
|
app.tabOpened$.subscribe(tab => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user