From d861941b151689b27971f997e8ce898154e264f1 Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Sat, 18 Aug 2018 20:19:22 +0200 Subject: [PATCH] make whole tabs draggable on Linux --- terminus-core/src/components/tabHeader.component.scss | 4 ++-- terminus-core/src/components/tabHeader.component.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/terminus-core/src/components/tabHeader.component.scss b/terminus-core/src/components/tabHeader.component.scss index 5dccfa0c..b1f5b580 100644 --- a/terminus-core/src/components/tabHeader.component.scss +++ b/terminus-core/src/components/tabHeader.component.scss @@ -18,7 +18,7 @@ $tabs-height: 36px; flex: none; font-weight: bold; -webkit-app-region: no-drag; - cursor: grab; + cursor: -webkit-grab; margin-left: 10px; width: 20px; @@ -71,6 +71,6 @@ $tabs-height: 36px; } &.fully-draggable { - cursor: grab; + cursor: -webkit-grab; } } diff --git a/terminus-core/src/components/tabHeader.component.ts b/terminus-core/src/components/tabHeader.component.ts index 02e60d38..901e7369 100644 --- a/terminus-core/src/components/tabHeader.component.ts +++ b/terminus-core/src/components/tabHeader.component.ts @@ -71,7 +71,7 @@ export class TabHeaderComponent { } ngOnInit () { - if (this.hostApp.platform !== Platform.macOS) { + if (this.hostApp.platform === Platform.macOS) { this.parentDraggable.setDragHandle(this.handle.nativeElement) } }