nicer touch bar buttons

This commit is contained in:
Eugene Pankov
2018-08-25 10:11:32 +02:00
parent 06d14f9bb2
commit 7f45bb57fc
10 changed files with 29 additions and 21 deletions

View File

@@ -55,7 +55,7 @@ export class ButtonProvider extends ToolbarButtonProvider {
return [{
icon: this.domSanitizer.bypassSecurityTrustHtml(require('./icons/plus.svg')),
title: 'New terminal',
touchBarTitle: 'New',
touchBarNSImage: 'NSTouchBarAddDetailTemplate',
click: async () => {
this.openNewTab()
}