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:
parent
578a7c1a7b
commit
d861941b15
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user