mirror of
https://github.com/Eugeny/tabby.git
synced 2024-11-23 21:34:13 +03:00
namespacing fix
This commit is contained in:
parent
3c3b14bf09
commit
049f08b8f9
@ -25,7 +25,7 @@ export abstract class BaseTabComponent {
|
||||
}
|
||||
|
||||
setTitle (title: string) {
|
||||
this.title = title]
|
||||
this.title = title
|
||||
if (!this.customTitle) {
|
||||
this.titleChange$.next(title)
|
||||
}
|
||||
|
@ -1,4 +1,5 @@
|
||||
import { Injectable } from '@angular/core'
|
||||
import { TouchBar } from 'electron'
|
||||
|
||||
@Injectable()
|
||||
export class ElectronService {
|
||||
@ -10,7 +11,7 @@ export class ElectronService {
|
||||
globalShortcut: any
|
||||
screen: any
|
||||
remote: any
|
||||
TouchBar: typeof Electron.TouchBar
|
||||
TouchBar: typeof TouchBar
|
||||
private electron: any
|
||||
|
||||
constructor () {
|
||||
|
@ -1,4 +1,5 @@
|
||||
import { Injectable, Inject, NgZone } from '@angular/core'
|
||||
import { TouchBarSegmentedControl, SegmentedControlSegment } from 'electron'
|
||||
import { Subject, Subscription } from 'rxjs'
|
||||
import { AppService } from './app.service'
|
||||
import { ConfigService } from './config.service'
|
||||
@ -10,8 +11,8 @@ import { IToolbarButton, ToolbarButtonProvider } from '../api'
|
||||
export class TouchbarService {
|
||||
tabSelected$ = new Subject<number>()
|
||||
private titleSubscriptions = new Map<BaseTabComponent, Subscription>()
|
||||
private tabsSegmentedControl: Electron.TouchBarSegmentedControl
|
||||
private tabSegments: Electron.SegmentedControlSegment[] = []
|
||||
private tabsSegmentedControl: TouchBarSegmentedControl
|
||||
private tabSegments: SegmentedControlSegment[] = []
|
||||
|
||||
constructor (
|
||||
private app: AppService,
|
||||
|
Loading…
Reference in New Issue
Block a user