use ColorIdentifier instead of Color, define some git colors for untracked, modifed, and ignored

This commit is contained in:
Johannes Rieken
2017-10-06 11:40:24 +02:00
parent e980c39e60
commit 5c109769f0
11 changed files with 76 additions and 23 deletions

View File

@@ -243,8 +243,9 @@ class ExtHostSourceControlResourceGroup implements vscode.SourceControlResourceG
const tooltip = (r.decorations && r.decorations.tooltip) || '';
const strikeThrough = r.decorations && !!r.decorations.strikeThrough;
const faded = r.decorations && !!r.decorations.faded;
const color = r.decorations && r.decorations.color;
return [handle, sourceUri, icons, tooltip, strikeThrough, faded] as SCMRawResource;
return [handle, sourceUri, icons, tooltip, strikeThrough, faded, color] as SCMRawResource;
});
handlesToDelete.push(...this._handlesSnapshot.splice(start, deleteCount, ...handles));