1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-12-25 03:22:58 +03:00

make whole tabs draggable on Linux

This commit is contained in:
Eugene Pankov 2018-08-18 20:19:22 +02:00
parent 578a7c1a7b
commit d861941b15
2 changed files with 3 additions and 3 deletions

View File

@ -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;
}
}

View File

@ -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)
}
}