Skip to content

Commit 70d6aa9

Browse files
authored
Fix color definition for Comments panel tree view icons (microsoft#185654)
Apparently Chrome is lenient about the missing closing parenthesis, so this is not visibly broken in practice, but the Dev Tools show a warning about an invalid property value.
1 parent 1a4e466 commit 70d6aa9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/comments/browser/commentsTreeViewer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ export class CommentNodeRenderer implements IListRenderer<ITreeNode<CommentNode>
188188
if (node.element.threadState !== undefined) {
189189
const color = this.getCommentThreadWidgetStateColor(node.element.threadState, this.themeService.getColorTheme());
190190
templateData.threadMetadata.icon.style.setProperty(commentViewThreadStateColorVar, `${color}`);
191-
templateData.threadMetadata.icon.style.color = `var(${commentViewThreadStateColorVar}`;
191+
templateData.threadMetadata.icon.style.color = `var(${commentViewThreadStateColorVar})`;
192192
}
193193
templateData.threadMetadata.userNames.textContent = node.element.comment.userName;
194194
templateData.threadMetadata.timestamp.setTimestamp(node.element.comment.timestamp ? new Date(node.element.comment.timestamp) : undefined);

0 commit comments

Comments
 (0)