Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/vs/workbench/contrib/comments/browser/commentsView.ts')
-rw-r--r--src/vs/workbench/contrib/comments/browser/commentsView.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/vs/workbench/contrib/comments/browser/commentsView.ts b/src/vs/workbench/contrib/comments/browser/commentsView.ts
index ad852ea3b7e..7077d35338b 100644
--- a/src/vs/workbench/contrib/comments/browser/commentsView.ts
+++ b/src/vs/workbench/contrib/comments/browser/commentsView.ts
@@ -120,7 +120,7 @@ export class CommentsPanel extends ViewPane {
const focusColor = theme.getColor(focusBorder);
if (focusColor) {
- content.push(`.comments-panel .commenst-panel-container a:focus { outline-color: ${focusColor}; }`);
+ content.push(`.comments-panel .comments-panel-container a:focus { outline-color: ${focusColor}; }`);
}
const codeTextForegroundColor = theme.getColor(textPreformatForeground);
@@ -147,6 +147,10 @@ export class CommentsPanel extends ViewPane {
}
}
+ public get hasRendered(): boolean {
+ return !!this.tree;
+ }
+
public override layoutBody(height: number, width: number): void {
super.layoutBody(height, width);
this.tree.layout(height, width);