mirror of
https://github.com/Microsoft/vscode
synced 2024-10-30 01:37:20 +00:00
parent
46b6f3eb64
commit
0f9323e411
2 changed files with 20 additions and 0 deletions
|
@ -84,3 +84,15 @@ body {
|
|||
padding-left: 20px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.monaco-scrollable-element .scrollbar > .slider {
|
||||
background: #64646457 !important;
|
||||
}
|
||||
|
||||
.monaco-scrollable-element .scrollbar > .slider:hover {
|
||||
background: highlight !important;
|
||||
}
|
||||
|
||||
.monaco-scrollable-element .scrollbar > .slider.active {
|
||||
background: highlight !important;
|
||||
}
|
||||
|
|
|
@ -257,6 +257,7 @@ class ProcessExplorer {
|
|||
await this.createProcessTree(processRoots);
|
||||
} else {
|
||||
this.tree.setInput({ processes: { processRoots } });
|
||||
this.tree.layout(window.innerHeight, window.innerWidth);
|
||||
}
|
||||
|
||||
this.requestProcessList(0);
|
||||
|
@ -342,6 +343,13 @@ class ProcessExplorer {
|
|||
this.showContextMenu(e.element, true);
|
||||
}
|
||||
});
|
||||
|
||||
container.style.height = `${window.innerHeight}px`;
|
||||
|
||||
window.addEventListener('resize', () => {
|
||||
container.style.height = `${window.innerHeight}px`;
|
||||
this.tree?.layout(window.innerHeight, window.innerWidth);
|
||||
});
|
||||
}
|
||||
|
||||
private isDebuggable(cmd: string): boolean {
|
||||
|
|
Loading…
Reference in a new issue