removed toolbar buttons from touchbar

This commit is contained in:
Eugene Pankov 2021-02-13 13:25:46 +01:00
parent 4779c41f48
commit 26429bf209
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

View File

@ -94,9 +94,9 @@ export class TouchbarService {
const touchBar = new this.electron.TouchBar({ const touchBar = new this.electron.TouchBar({
items: [ items: [
this.tabsSegmentedControl, this.tabsSegmentedControl,
new this.electron.TouchBar.TouchBarSpacer({ size: 'flexible' }), // new this.electron.TouchBar.TouchBarSpacer({ size: 'flexible' }),
new this.electron.TouchBar.TouchBarSpacer({ size: 'small' }), // new this.electron.TouchBar.TouchBarSpacer({ size: 'small' }),
this.buttonsSegmentedControl, // this.buttonsSegmentedControl,
], ],
}) })
this.hostApp.setTouchBar(touchBar) this.hostApp.setTouchBar(touchBar)