mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 20:13:32 +01:00
Preserve color from ThemeIcons in Timeline
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user