fixed #8028 - ghost panes and missing pane drag handle

This commit is contained in:
Eugene Pankov
2023-03-18 20:01:28 +01:00
parent ceb9b3cca8
commit ef3c9e3be0
4 changed files with 20 additions and 5 deletions

View File

@@ -2,6 +2,7 @@
padding: 5px 15px 5px 15px;
display: flex;
z-index: 3;
overflow: hidden;
::ng-deep .btn {
white-space: nowrap;

View File

@@ -29,7 +29,7 @@ export class TerminalToolbarComponent {
}
get shouldShowDragHandle (): boolean {
return this.tab.parent instanceof SplitTabComponent && this.tab.parent.getAllTabs().length > 1
return this.tab.topmostParent instanceof SplitTabComponent && this.tab.topmostParent.getAllTabs().length > 1
}
@HostListener('mouseenter') onMouseEnter () {