Preserve color from ThemeIcons in Timeline

This commit is contained in:
Eric Amodio
2021-07-08 17:57:24 -04:00
parent d5d45297f8
commit 7b064adcd5
3 changed files with 15 additions and 8 deletions

View File

@@ -132,7 +132,7 @@ export class ExtHostTimeline implements IExtHostTimeline {
let themeIcon;
if (item.iconPath) {
if (iconPath instanceof ThemeIcon) {
themeIcon = { id: iconPath.id };
themeIcon = { id: iconPath.id, color: iconPath.color };
}
else if (URI.isUri(iconPath)) {
icon = iconPath;