only show drag space on Win & Linux with thin titlebar (ref #219)

This commit is contained in:
Eugene Pankov
2017-10-22 21:23:53 +02:00
parent ceacf5c760
commit 21e1656780
2 changed files with 2 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ title-bar(
) )
i.fa([class]='"fa fa-" + button.icon') i.fa([class]='"fa fa-" + button.icon')
.drag-space .drag-space(*ngIf='config.store.appearance.frame == "thin" && hostApp.platform != Platform.macOS')
.btn-group .btn-group
button.btn.btn-secondary.btn-tab-bar( button.btn.btn-secondary.btn-tab-bar(

View File

@@ -27,7 +27,7 @@ export class TabHeaderComponent {
{ {
label: 'Close', label: 'Close',
click: () => { click: () => {
this.zone.run(() => { zone.run(() => {
app.closeTab(this.tab, true) app.closeTab(this.tab, true)
}) })
} }